Skip to content

Commit 1889c21

Browse files
GuillaumeGomezUrgau
authored andcommitted
Check benches and tests as well
1 parent 16ab1b7 commit 1889c21

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/CI.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,26 @@ env:
1111
RUST_BACKTRACE: 1
1212

1313
jobs:
14-
checks:
14+
stable-checks:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
1818
- uses: dtolnay/rust-toolchain@stable
1919
with:
2020
toolchain: stable
21-
components: clippy, rustfmt
21+
components: rustfmt
2222
- run: cargo fmt -- --check
2323
- run: cargo test
24-
- run: cargo clippy
2524
# Ensure that no untracked or tracked files have been added or modified.
2625
- run: git diff --check --exit-code
26+
27+
nightly-checks:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v4
31+
- uses: dtolnay/rust-toolchain@stable
32+
with:
33+
toolchain: nightly
34+
components: clippy
35+
# Check all entries, including tests and benchmarks.
36+
- run: cargo clippy --all-targets

0 commit comments

Comments
 (0)