We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3b1fa6 commit 94a5dacCopy full SHA for 94a5dac
.github/workflows/clippy.yml
@@ -0,0 +1,21 @@
1
+name: Clippy Check
2
+
3
+on:
4
+ pull_request:
5
+ branches: [ main ]
6
+ types: [ready_for_review, opened, synchronize, reopened]
7
+ push:
8
9
10
+jobs:
11
+ rustfmt:
12
+ if: github.event.pull_request.draft == false
13
+ name: Rust formatting
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - uses: actions-rust-lang/setup-rust-toolchain@v1
18
+ with:
19
+ components: clippy
20
+ - name: Check lints with clippy
21
+ uses: actions-rust-lang/clippy@v1
0 commit comments