github: workflows: Update used actions to latest version #278
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: unit-tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install build dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install meson libglib2.0-dev libyaml-dev libparted-dev | |
| - name: Build unit tests and program | |
| run: meson setup build --buildtype=debug | |
| - name: Run user unit tests | |
| run: meson test --suite user -C build --print-errorlogs --verbose | |
| - name: Run root unit tests | |
| run: sudo meson test --suite root -C build --print-errorlogs --verbose |