Skip to content

Commit cb74d85

Browse files
committed
rust clippy in ci
1 parent 53a37bf commit cb74d85

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,18 @@ on:
88

99
env:
1010
CARGO_TERM_COLOR: always
11+
RUSTFLAGS: "-Dwarnings"
1112

1213
jobs:
1314
build:
1415

1516
runs-on: ubuntu-latest
1617

1718
steps:
18-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
1920
- name: Build
2021
run: cargo build --verbose
2122
- name: Run tests
2223
run: cargo test --verbose
24+
- name: Run Clippy
25+
run: cargo clippy --all-targets --all-features

0 commit comments

Comments
 (0)