plonky2-crypto-gadgets/.github/workflows/clippy.yml
.github/workflows/clippy.ymlRaw
1name: Clippy Check
2
3on:
4 pull_request:
5 branches: [ main ]
6 types: [ready_for_review, opened, synchronize, reopened]
7 push:
8 branches: [ main ]
9
10jobs:
11 clippy:
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 run: cargo clippy --tests --examples