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: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1 - uses: dtolnay/rust-toolchain@master
with: with:
toolchain: nightly toolchain: nightly
components: rust-src components: rust-src
override: true
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v1

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

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

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

Loading…
Cancel
Save