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 f700e19 commit f642c56Copy full SHA for f642c56
.github/workflows/ci.yaml
@@ -26,6 +26,22 @@ jobs:
26
components: clippy
27
- uses: Swatinem/rust-cache@v2
28
- run: cargo clippy --features docs
29
+
30
+ format:
31
+ runs-on: ubuntu-latest
32
+ strategy:
33
+ matrix:
34
+ rust:
35
+ - nightly
36
+ name: format/${{ matrix.rust }}
37
+ steps:
38
+ - uses: actions/checkout@v4
39
+ - uses: dtolnay/rust-toolchain@master
40
+ with:
41
+ toolchain: ${{ matrix.rust }}
42
+ components: rustfmt
43
+ - run: cargo fmt --all --check
44
45
tests:
46
runs-on: ubuntu-latest
47
strategy:
@@ -103,6 +119,7 @@ jobs:
103
119
conclusion:
104
120
needs:
105
121
- clippy
122
+ # - format # should format be required?
106
123
- tests
107
124
- cross_test
108
125
- cargo-careful
0 commit comments