File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed
Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -16,24 +16,13 @@ jobs:
1616 - " nightly"
1717 steps :
1818 - uses : actions/checkout@v4 # not pinning to commit hash since this is a GitHub action, which we trust
19- - id : cache-cargo
20- name : Cache Cargo toolchain
21- uses : actions/cache@v4 # not pinning to commit hash since this is a GitHub action, which we trust
19+ - uses : actions-rust-lang/setup-rust-toolchain@9d7e65c320fdb52dcd45ffaa68deb6c02c8754d9 # v1.12.0
2220 with :
23- path : |
24- ~/.cargo/bin/
25- ~/.cargo/registry/index/
26- ~/.cargo/registry/cache/
27- ~/.cargo/git/db/
28- target/
29- key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-release
30- - if : ${{ steps.cache-cargo.outputs.cache-hit != 'true' }}
31- name : Install Rust toolchain
32- uses : actions-rs/toolchain@v1 # not pinning to commit hash since this is an archived GitHub action, which we trust
33- with :
34- profile : minimal
3521 toolchain : ${{ matrix.rust-toolchain }}
36- override : true
22+ profile : minimal
23+ components : rustfmt, clippy
24+ - name : Check
25+ run : cargo check
3726 - name : Architecture check
3827 run : cargo run arch-check
3928 - name : Architecture check (Optimized)
You can’t perform that action at this time.
0 commit comments