Skip to content

Commit 397714f

Browse files
committed
Use clippy on ci
1 parent f1cb5b8 commit 397714f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
toolchain: stable
6060
profile: minimal
6161
override: true
62-
components: rustfmt, rust-src
62+
components: rustfmt, rust-src, clippy
6363

6464
- if: matrix.os == 'ubuntu-latest'
6565
run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/
@@ -82,6 +82,8 @@ jobs:
8282
path: target
8383
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
8484

85+
- run: cargo clippy
86+
8587
- name: Compile
8688
run: cargo test --no-run
8789

0 commit comments

Comments
 (0)