Skip to content

Commit 81c3ba4

Browse files
LingManlambda-fairy
authored andcommitted
Run clippy in CI
1 parent e17bb4b commit 81c3ba4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,16 @@ jobs:
5757

5858

5959
lints:
60-
name: Rustfmt
60+
name: Rustfmt & Clippy
6161
runs-on: ubuntu-latest
6262
steps:
6363
- name: Checkout repository
6464
uses: actions/checkout@v2
6565
- name: Install toolchain
6666
uses: dtolnay/rust-toolchain@stable
6767
with:
68-
components: rustfmt
68+
components: rustfmt, clippy
6969
- name: Check formatting
7070
run: cargo fmt --check
71+
- name: Check clippy
72+
run: cargo clippy -- -D warnings

0 commit comments

Comments
 (0)