We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22a3de5 commit 550914cCopy full SHA for 550914c
.github/workflows/clippy.yaml
@@ -0,0 +1,36 @@
1
+name: Clippy
2
+
3
+on:
4
+ push:
5
+ branches: [ staging, trying, master ]
6
+ pull_request:
7
+ branches: [ master ]
8
9
+defaults:
10
+ run:
11
+ shell: bash
12
13
+env:
14
+ CLIPPY_PARAMS: -W clippy::all -W clippy::pedantic -W clippy::nursery -W clippy::cargo
15
16
+jobs:
17
+ clippy:
18
+ name: Clippy
19
+ runs-on: ubuntu-latest
20
+ strategy:
21
+ matrix:
22
+ cargo_flags:
23
+ - "--no-default-features"
24
+ - "--all-features"
25
+ steps:
26
+ - name: Checkout source code
27
+ uses: actions/checkout@v3
28
29
+ - name: Install Rust toolchain
30
+ uses: dtolnay/rust-toolchain@stable
31
+ with:
32
+ toolchain: stable
33
+ components: clippy
34
35
+ - name: Run clippy
36
+ run: cargo clippy --all ${{ matrix.cargo_flags }} -- -D warnings
0 commit comments