Tidy up examples #69
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: CI | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - ready_for_review | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| env: | |
| RUST_BACKTRACE: full | |
| CARGO_TERM_COLOR: always | |
| permissions: | |
| contents: read # only fetching code is available | |
| jobs: | |
| Test: | |
| runs-on: ubuntu-24.04 | |
| if: github.event.pull_request.draft == false | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: rustup set profile minimal | |
| - uses: taiki-e/install-action@nextest | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Run tests (MSRV) | |
| run: | | |
| set -xe | |
| cargo --version | |
| cargo fmt -- --check | |
| cargo clippy | |
| cargo nextest run | |
| cargo test -p polyfuse-kernel-systest | |
| - name: Run tests (stable) | |
| run: | | |
| set -xe | |
| cargo +stable nextest run | |
| cargo +stable test -p polyfuse-kernel-systest |