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 2f56cd1 commit 8282e10Copy full SHA for 8282e10
README.md
@@ -24,6 +24,19 @@ jobs:
24
- uses: actions/checkout@v3
25
- uses: actions-rust-lang/setup-rust-toolchain@v1
26
- run: cargo test --all-features
27
+
28
+ # Check formatting with rustfmt
29
+ formatting:
30
+ name: cargo fmt
31
+ runs-on: ubuntu-latest
32
+ steps:
33
+ - uses: actions/checkout@v3
34
+ # Ensure rustfmt is installed and setup problem matcher
35
+ - uses: actions-rust-lang/setup-rust-toolchain@v1
36
+ with:
37
+ components: rustfmt
38
+ - name: Rustfmt Check
39
+ uses: actions-rust-lang/rustfmt@v1
40
```
41
42
## Inputs
0 commit comments