File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 28
28
# - uses: actions/checkout@v2
29
29
# - name: cargo clippy
30
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
Original file line number Diff line number Diff line change @@ -148,6 +148,10 @@ cargo clippy
148
148
149
149
Once installed, you can use the [ download command] ( #download-input-for-a-day ) .
150
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
+
151
155
### Enable clippy lints in CI
152
156
153
157
Uncomment the ` clippy ` job in the ` ci.yml ` workflow to enable clippy checks in CI.
You can’t perform that action at this time.
0 commit comments