File tree 1 file changed +5
-16
lines changed
1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -16,24 +16,13 @@ jobs:
16
16
- " nightly"
17
17
steps :
18
18
- 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
22
20
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
35
21
toolchain : ${{ matrix.rust-toolchain }}
36
- override : true
22
+ profile : minimal
23
+ components : rustfmt, clippy
24
+ - name : Check
25
+ run : cargo check
37
26
- name : Architecture check
38
27
run : cargo run arch-check
39
28
- name : Architecture check (Optimized)
You can’t perform that action at this time.
0 commit comments