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 2828 # - uses: actions/checkout@v2
2929 # - name: cargo clippy
3030 # 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
148148
149149Once installed, you can use the [ download command] ( #download-input-for-a-day ) .
150150
151+ ### Check code formatting in CI
152+
153+ Uncomment the ` format ` job in the ` ci.yml ` workflow to enable fmt checks in CI.
154+
151155### Enable clippy lints in CI
152156
153157Uncomment 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