mirror of
https://github.com/haraldh/chainerror.git
synced 2025-01-30 16:46:42 +01:00
fix: use dtolnay/rust-toolchain
instead of `actions-rs/toolchain` Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
d60cdf9cdb
commit
bb5f372a92
9
.github/workflows/rust.yml
vendored
9
.github/workflows/rust.yml
vendored
|
@ -26,10 +26,9 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Install toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: ${{ matrix.version }}
|
||||
default: true
|
||||
profile: minimal
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
|
@ -45,7 +44,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
components: rustfmt
|
||||
toolchain: stable
|
||||
|
@ -61,7 +60,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
components: clippy
|
||||
toolchain: stable
|
||||
|
@ -77,7 +76,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
|
|
Loading…
Reference in a new issue