Skip to content

Commit

Permalink
ci: Check for compilation errors in tests and benchmarks
Browse files Browse the repository at this point in the history
Check for compilation errors in tests with all features enabled and
benchmarks. This was added as a step into the `build+test` workflow
in GH Actions.
  • Loading branch information
jsdanielh authored and hrxi committed Jun 27, 2024
1 parent 6039349 commit 005020e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build+test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ jobs:
components: rustfmt
- run: cargo fmt --all -- --check

check:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo check --all-features --tests --benches

test:
runs-on: ubuntu-22.04

Expand Down

0 comments on commit 005020e

Please sign in to comment.