Skip to content

Commit 0c594d4

Browse files
committed
Run clippy on CI.
1 parent a2170da commit 0c594d4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,16 @@ jobs:
3434
submodules: recursive
3535

3636
- name: Install Rust
37-
run: rustup toolchain install ${{ matrix.rust }} --profile minimal --component rustfmt
37+
run: rustup toolchain install ${{ matrix.rust }} --profile minimal --component rustfmt clippy
3838

3939
- name: Check format
4040
shell: bash
4141
run: rustup run ${{ matrix.rust }} cargo fmt --all -- --check
4242

43+
- name: Clippy
44+
shell: bash
45+
run: rustup run ${{ matrix.rust }} cargo clippy --all -- -D warnings
46+
4347
- name: Test (release)
4448
shell: bash
4549
run: rustup run ${{ matrix.rust }} cargo test --all --verbose --release

0 commit comments

Comments
 (0)