File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change 17
17
steps :
18
18
- uses : actions/checkout@v4
19
19
20
- - name : Cache cargo registry, index, and build artifacts
21
- uses : actions/cache@v4
22
- 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') }}
30
- restore-keys : |
31
- ${{ runner.os }}-cargo-
32
-
33
- # Install the nightly toolchain specified in rust-toolchain.toml
34
- # including all necessary components.
35
- - name : Install nightly toolchain
36
- uses : dtolnay/rust-toolchain@master
37
- # The action reads rust-toolchain.toml by default for channel and components.
38
- # We list components here again just to be explicit, though it might be redundant.
20
+ - uses : actions-rust-lang/setup-rust-toolchain@v1
39
21
with :
40
22
components : miri, rust-src, rustfmt, clippy
41
23
You can’t perform that action at this time.
0 commit comments