File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -33,33 +33,33 @@ jobs:
3333 toolchain : ${{ matrix.rust }}
3434 components : rustfmt, clippy
3535
36- - name : Cache cargo registry
37- uses : actions/cache@v4
38- with :
39- path : |
40- ~/.cargo/registry
41- ~/.cargo/git
42- target
43- key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
44-
36+ - name : Cache cargo registry
37+ uses : actions/cache@v4
38+ with :
39+ path : |
40+ ~/.cargo/registry
41+ ~/.cargo/git
42+ target
43+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
44+
4545 - name : Check formatting
4646 run : cargo fmt --all -- --check
4747 continue-on-error : true
4848 id : fmt-check
49-
49+
5050 - name : Formatting feedback
5151 if : steps.fmt-check.outcome == 'failure'
5252 run : |
5353 echo "::warning::Code formatting issues detected!"
5454 echo "Please run 'cargo fmt --all' to fix formatting."
5555 echo "Or add this to your pre-commit hook:"
5656 echo " cargo fmt --all"
57-
57+
5858 - name : Run clippy
5959 run : cargo clippy --all-targets --all-features -- -D warnings
60- continue-on-error : true
60+ continue-on-error : true
6161 id : clippy-check
62-
62+
6363 - name : Clippy feedback
6464 if : steps.clippy-check.outcome == 'failure'
6565 run : |
You can’t perform that action at this time.
0 commit comments