Skip to content

Commit 80fff6b

Browse files
committed
Add clippy using latest rust version to CI
Fixes: #1511
1 parent 3cd73d7 commit 80fff6b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/CICD.yml

+10
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,16 @@ jobs:
4444
- uses: actions/checkout@v4
4545
- run: cargo fmt -- --check
4646

47+
lint_check:
48+
name: Ensure 'cargo clippy' has no warnings
49+
runs-on: ubunut-latest
50+
steps:
51+
- uses: dtolnay/rust-toolchain@stable
52+
with:
53+
components: clippy
54+
- uses: actions/checkout@v4
55+
- run: cargo clippy --all-targets --all-features -- -Dwarnings
56+
4757
min_version:
4858
name: Minimum supported rust version
4959
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)