Replace unmaintained actions-rs/toolchain with dtolnay/rust-toolchain
This commit is contained in:
parent
927be5f256
commit
38245da1ba
44
.github/workflows/ci.yml
vendored
44
.github/workflows/ci.yml
vendored
@ -25,11 +25,7 @@ jobs:
|
||||
|
||||
- name: Install rust stable toolchain
|
||||
if: steps.xtask-cache.outputs.cache-hit != 'true'
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Build
|
||||
if: steps.xtask-cache.outputs.cache-hit != 'true'
|
||||
@ -47,11 +43,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install rust nightly toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: nightly
|
||||
override: true
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
@ -99,18 +91,9 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install rust 1.64 toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: "1.64"
|
||||
|
||||
# Used to compile xtask
|
||||
- name: Install rust stable toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
toolchain: 1.64
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
@ -158,11 +141,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install rust stable toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
@ -205,11 +184,8 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install rust nightly toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: nightly
|
||||
override: true
|
||||
components: ${{ matrix.components }}
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
@ -232,12 +208,8 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install nightly rust toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
# Nightly needed for use of unstable options
|
||||
toolchain: nightly
|
||||
override: true
|
||||
# Nightly needed for use of unstable options
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user