plonky2-crypto-gadgets/.github/workflows/rustfmt.yml
.github/workflows/rustfmt.ymlRaw
1name: Rustfmt 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 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: rustfmt
20 - name: Check formatting
21 uses: actions-rust-lang/rustfmt@v1