We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cargo fmt --check
1 parent b8b688f commit 6379e82Copy full SHA for 6379e82
.github/workflows/ci.yml
@@ -28,3 +28,11 @@ jobs:
28
# - uses: actions/checkout@v2
29
# - name: cargo clippy
30
# run: cargo clippy -- -D warnings
31
+ # uncoment to enable format checking
32
+ # fmt:
33
+ # runs-on: ubuntu-latest
34
+ # name: Format
35
+ # steps:
36
+ # - uses: actions/checkout@v3
37
+ # - name: cargo fmt
38
+ # run: cargo fmt --check
README.md
@@ -148,6 +148,10 @@ cargo clippy
148
149
Once installed, you can use the [download command](#download-input-for-a-day).
150
151
+### Check code formatting in CI
152
+
153
+Uncomment the `format` job in the `ci.yml` workflow to enable fmt checks in CI.
154
155
### Enable clippy lints in CI
156
157
Uncomment the `clippy` job in the `ci.yml` workflow to enable clippy checks in CI.
0 commit comments