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 511c078 commit 2e870e7Copy full SHA for 2e870e7
.github/workflows/rustfmt.yaml
@@ -1,4 +1,3 @@
1
-
2
on:
3
push:
4
branches: [ staging, trying, master ]
@@ -9,16 +8,11 @@ name: Code formatting check
9
8
jobs:
10
fmt:
11
name: Rustfmt
12
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
13
steps:
14
- - uses: actions/checkout@v2
15
- - uses: actions-rs/toolchain@v1
+ - uses: actions/checkout@v3
+ - uses: dtolnay/rust-toolchain@stable
16
with:
17
- profile: minimal
18
- toolchain: stable
19
- override: true
20
components: rustfmt
21
- - uses: actions-rs/cargo@v1
22
- with:
23
- command: fmt
24
- args: --all -- --check
+ - name: Run Rustfmt
+ run: cargo fmt --all -- --check --verbose
0 commit comments