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
|
- name: Install rust stable toolchain
|
||||||
if: steps.xtask-cache.outputs.cache-hit != 'true'
|
if: steps.xtask-cache.outputs.cache-hit != 'true'
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
if: steps.xtask-cache.outputs.cache-hit != 'true'
|
if: steps.xtask-cache.outputs.cache-hit != 'true'
|
||||||
@ -47,11 +43,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install rust nightly toolchain
|
- name: Install rust nightly toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@nightly
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: nightly
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
@ -99,18 +91,9 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install rust 1.64 toolchain
|
- name: Install rust 1.64 toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
toolchain: 1.64
|
||||||
toolchain: "1.64"
|
|
||||||
|
|
||||||
# Used to compile xtask
|
|
||||||
- name: Install rust stable toolchain
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
@ -158,11 +141,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install rust stable toolchain
|
- name: Install rust stable toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
@ -205,11 +184,8 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install rust nightly toolchain
|
- name: Install rust nightly toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@nightly
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
|
||||||
toolchain: nightly
|
|
||||||
override: true
|
|
||||||
components: ${{ matrix.components }}
|
components: ${{ matrix.components }}
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
@ -232,12 +208,8 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install nightly rust toolchain
|
- name: Install nightly rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
# Nightly needed for use of unstable options
|
||||||
with:
|
uses: dtolnay/rust-toolchain@nightly
|
||||||
profile: minimal
|
|
||||||
# Nightly needed for use of unstable options
|
|
||||||
toolchain: nightly
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user