Skip to content

Commit b2fb3f3

Browse files
committed
CI clippy
1 parent e0bc226 commit b2fb3f3

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/rust.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,18 @@ jobs:
1818
- name: Enforce formatting
1919
run: cargo fmt --check
2020

21-
build:
21+
clippy:
22+
name: Clippy check
23+
env:
24+
RUSTFLAGS: "-Dwarnings"
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v4
28+
- name: Run Clippy
29+
run: cargo clippy --all-targets --all-features
30+
31+
build_and_test:
32+
name: Build and test
2233
runs-on: ubuntu-latest
2334
steps:
2435
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)