Skip to content

Commit dd7395f

Browse files
committed
Enforce clippy lints in CI
1 parent 74cd3d5 commit dd7395f

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/rust.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,15 @@ jobs:
4242
- uses: dtolnay/rust-toolchain@nightly
4343
- run: cargo test --all-features
4444

45-
# TODO: clippy isn't happy
46-
# clippy:
47-
# name: Check that clippy is happy
48-
# runs-on: ubuntu-latest
49-
# steps:
50-
# - uses: actions/checkout@v3
51-
# - uses: dtolnay/rust-toolchain@nightly
52-
# with:
53-
# components: clippy
54-
# - run: cargo clippy --all-features
45+
clippy:
46+
name: Check that clippy is happy
47+
runs-on: ubuntu-latest
48+
steps:
49+
- uses: actions/checkout@v3
50+
- uses: dtolnay/rust-toolchain@stable
51+
with:
52+
components: clippy
53+
- run: cargo clippy --all-features --all-targets
5554

5655
rustfmt:
5756
name: Check formatting

0 commit comments

Comments
 (0)