File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
github_linter/fixes/github_actions/templates/Rust Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2020 - uses : actions/checkout@v4
2121 - name : Setup sccache
2222 uses :
mozilla-actions/[email protected] 23+ - uses : actions-rust-lang/setup-rust-toolchain@v1
24+ with :
25+ components : clippy
2326 - name : " Run clippy"
2427 run : cargo clippy --all-targets
2528 - name : Run sccache stat for check
Original file line number Diff line number Diff line change @@ -17,18 +17,14 @@ jobs:
1717 - name : Setup sccache
1818 uses :
mozilla-actions/[email protected] 1919 - name : Install Rust
20- uses : dtolnay/rust-toolchain@stable
21- with :
22- toolchain : stable
20+ uses : actions-rust-lang/setup-rust-toolchain@v1
2321 - name : Install typical dependencies
2422 run : |
2523 sudo apt-get update && \
2624 sudo apt-get install -y \
2725 libssl-dev
2826 - name : " Run cargo test"
2927 run : cargo test
30- - name : " Run cargo clippy"
31- run : cargo clippy --all-targets
3228 - name : " Build the workspace"
3329 run : cargo build --workspace
3430 - name : Run sccache stat for check
You can’t perform that action at this time.
0 commit comments