Skip to content

Commit

Permalink
ci: Add check run with all feature enabled
Browse files Browse the repository at this point in the history
Add another CI job which runs `cargo check` with all profirust crate
features enabled.

Additionally, forbid all warnings during this check run so CI notifies
us of code yielding warnings early.
  • Loading branch information
Rahix committed Dec 19, 2024
1 parent 1720e66 commit 8aa3d57
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ jobs:
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo test -p gsd-parser

check-profirust:
name: Check profirust sources
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: sudo apt-get install -y libudev-dev
- run: RUSTFLAGS=-Dwarnings cargo check -p profirust --all-features --examples

test-profirust:
name: Run profirust testsuite
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8aa3d57

Please sign in to comment.