From d5d6a95de6db293d758bba95b8a30534ea555650 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Wed, 3 May 2023 18:43:43 -0400 Subject: [PATCH] Replace actions-rs/toolchain with dtolnay/rust-toolchain See https://github.com/actions-rs/toolchain/issues/216; actions-rs seems to be unmaintained. --- .github/workflows/build-aya-bpf.yml | 3 +-- .github/workflows/build-aya.yml | 3 +-- .github/workflows/gen.yml | 4 +--- .github/workflows/lint.yml | 4 +--- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-aya-bpf.yml b/.github/workflows/build-aya-bpf.yml index f40962b0..19193abc 100644 --- a/.github/workflows/build-aya-bpf.yml +++ b/.github/workflows/build-aya-bpf.yml @@ -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 diff --git a/.github/workflows/build-aya.yml b/.github/workflows/build-aya.yml index 9f4c5e16..c7bc3d9e 100644 --- a/.github/workflows/build-aya.yml +++ b/.github/workflows/build-aya.yml @@ -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 diff --git a/.github/workflows/gen.yml b/.github/workflows/gen.yml index 8e0661de..c6700dce 100644 --- a/.github/workflows/gen.yml +++ b/.github/workflows/gen.yml @@ -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 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9654d538..5c68590f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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: |