File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 3131 - name : Install Clippy
3232 run : rustup component add clippy
3333 - name : Run linter
34- run : cargo clippy -- -D warnings
34+ run : cargo clippy --locked -- -D warnings
3535 format :
3636 runs-on : ubuntu-latest
3737 steps :
6060 - shell : bash
6161 env :
6262 CARGO_TOKEN : ${{ secrets.CARGO_TOKEN }}
63- run : cargo login "$CARGO_TOKEN" && cargo publish
63+ run : cargo login "$CARGO_TOKEN" && cargo publish --locked
Original file line number Diff line number Diff line change 2020 - uses : actions-rs/cargo@v1
2121 with :
2222 command : check
23- args : --all-features
23+ args : --all-features --locked
2424
2525 test :
2626 name : Test Suite
3535 - uses : actions-rs/cargo@v1
3636 with :
3737 command : test
38+ args : --locked
3839
3940 fmt :
4041 name : Rustfmt
6667 - uses : actions-rs/cargo@v1
6768 with :
6869 command : clippy
69- args : -- -D warnings
70+ args : --locked -- -D warnings
You can’t perform that action at this time.
0 commit comments