Replace actions-rs/toolchain with dtolnay/rust-toolchain

See https://github.com/actions-rs/toolchain/issues/216; actions-rs seems
to be unmaintained.
pull/603/head
Tamir Duberstein 2 years ago
parent 7d88470944
commit d5d6a95de6
No known key found for this signature in database

@ -28,11 +28,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: rust-src
override: true
- uses: Swatinem/rust-cache@v1

@ -26,10 +26,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
override: true
- uses: taiki-e/install-action@cargo-hack
- name: Check

@ -18,12 +18,10 @@ jobs:
working-directory: libbpf
run: echo "LIBBPF_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: nightly
components: rustfmt, clippy
override: true
- uses: Swatinem/rust-cache@v1

@ -20,12 +20,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: nightly
components: rustfmt, clippy, miri, rust-src
override: true
- name: Check formatting
run: |

Loading…
Cancel
Save