Skip to content

Commit 2f7e395

Browse files
committed
ci: replace unmaintained actions-rs/toolchain@v1
1 parent 37b0956 commit 2f7e395

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/_build-rust.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,12 @@ jobs:
6262
steps:
6363
- name: Check out
6464
uses: actions/checkout@v4
65-
- name: Install Rust toolchain
66-
uses: actions-rs/toolchain@v1
65+
- name: Setup Rust toolchain
66+
uses: dtolnay/rust-toolchain@stable
6767
with:
68-
profile: minimal
6968
toolchain: ${{ inputs.rust-version }}
70-
override: true
69+
targets: ${{ inputs.rust-target }}
7170
components: clippy, rustfmt
72-
target: ${{ inputs.rust-target }}
7371
- name: Set up cargo cache
7472
uses: actions/cache@v3
7573
continue-on-error: false

0 commit comments

Comments
 (0)