Skip to content

Commit 657a3d4

Browse files
switch to a different rust setup action
1 parent f039487 commit 657a3d4

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,7 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

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
3921
with:
4022
components: miri, rust-src, rustfmt, clippy
4123

0 commit comments

Comments
 (0)