Skip to content

Commit 005020e

Browse files
jsdanielhhrxi
authored andcommitted
ci: Check for compilation errors in tests and benchmarks
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.
1 parent 6039349 commit 005020e

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/build+test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ jobs:
2121
components: rustfmt
2222
- run: cargo fmt --all -- --check
2323

24+
check:
25+
runs-on: ubuntu-22.04
26+
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: dtolnay/rust-toolchain@stable
30+
- uses: Swatinem/rust-cache@v2
31+
- run: cargo check --all-features --tests --benches
32+
2433
test:
2534
runs-on: ubuntu-22.04
2635

0 commit comments

Comments
 (0)