We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 06b508e + 37bc9c8 commit 3ede13bCopy full SHA for 3ede13b
.github/workflows/rustfmt.yml
@@ -0,0 +1,18 @@
1
+on: pull_request
2
+
3
+name: Check formatting
4
5
+jobs:
6
+ format:
7
+ runs-on: ubuntu-latest
8
+ permissions:
9
+ pull-requests: write
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - uses: dtolnay/rust-toolchain@nightly
13
+ with:
14
+ components: rustfmt
15
+ - uses: mbrobbel/rustfmt-check@master
16
17
+ token: ${{ secrets.GITHUB_TOKEN }}
18
+ mode: review
0 commit comments