Skip to content

Commit 49c5596

Browse files
committed
chore: run clippy in the formatting CI workflow
1 parent 6890c29 commit 49c5596

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/format.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
fmt:
10-
name: Check code formatting
10+
name: `rustfmt`
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
@@ -17,4 +17,16 @@ jobs:
1717
components: rustfmt
1818

1919
- name: Rustfmt Check
20-
uses: actions-rust-lang/rustfmt@v1
20+
uses: actions-rust-lang/rustfmt@v1
21+
clippy:
22+
name: `clippy`
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v4
26+
27+
- uses: actions-rust-lang/setup-rust-toolchain@v1
28+
with:
29+
components: clippy
30+
31+
- name: Clippy Check
32+
run: cargo clippy --all --deny warnings --manifest-path=./Cargo.toml

0 commit comments

Comments
 (0)