Skip to content

Commit 0519870

Browse files
committed
Migrate to a maintained toolchain action
1 parent 83713a1 commit 0519870

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,20 @@ jobs:
2424
with:
2525
path: ~/.cargo/git
2626
key: ${{ runner.os }}-cargo-index-${{ hashFiles('Cargo.lock') }}
27-
- uses: actions-rs/toolchain@v1
27+
- uses: dtolnay/rust-toolchain@stable
2828
with:
2929
toolchain: ${{ matrix.toolchain }}
3030
target: "wasm32-unknown-unknown"
3131
profile: minimal
3232
override: true
3333
# multiple additional targets are not supported, so we invoke the action multiple times
3434
# Feature request: https://github.com/actions-rs/toolchain/issues/165
35-
- uses: actions-rs/toolchain@v1
35+
- uses: dtolnay/rust-toolchain@stable
3636
with:
3737
toolchain: ${{ matrix.toolchain }}
3838
profile: minimal
3939
target: "i686-unknown-linux-gnu"
40-
- uses: actions-rs/toolchain@v1
40+
- uses: dtolnay/rust-toolchain@stable
4141
with:
4242
toolchain: ${{ matrix.toolchain }}
4343
profile: minimal

.github/workflows/mac.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
path: ~/.cargo/git
2626
key: ${{ runner.os }}-cargo-index-${{ hashFiles('Cargo.lock') }}
27-
- uses: actions-rs/toolchain@v1
27+
- uses: dtolnay/rust-toolchain@stable
2828
with:
2929
toolchain: ${{ matrix.toolchain }}
3030
profile: minimal

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
path: ~/.cargo/git
2626
key: ${{ runner.os }}-cargo-index-${{ hashFiles('Cargo.lock') }}
27-
- uses: actions-rs/toolchain@v1
27+
- uses: dtolnay/rust-toolchain@stable
2828
with:
2929
toolchain: ${{ matrix.toolchain }}
3030
profile: minimal

0 commit comments

Comments
 (0)