From c420dcd41b4d2616bebc76a0336ec1605d9884da Mon Sep 17 00:00:00 2001 From: Ruslan Mstoi Date: Fri, 8 Mar 2024 18:31:45 +0200 Subject: [PATCH] build: replace actions-rs/toolchain with dtolnay/rust-toolchain actions-rs/toolchain is unmaintained, hence replace it with dtolnay/rust-toolchain See: #5929 Signed-off-by: Ruslan Mstoi --- .github/workflows/build.yaml | 3 +-- .github/workflows/fuzz-build.yaml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1a269e0be..68f89adf4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,11 +29,10 @@ jobs: run: sudo apt install -y musl-tools - name: Install Rust toolchain (${{ matrix.rust }}) - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: toolchain: ${{ matrix.rust }} target: ${{ matrix.target }} - override: true - name: Build (default features) run: cargo rustc --locked --bin cloud-hypervisor -- -D warnings -D clippy::undocumented_unsafe_blocks diff --git a/.github/workflows/fuzz-build.yaml b/.github/workflows/fuzz-build.yaml index 760d1d0de..db868de2b 100644 --- a/.github/workflows/fuzz-build.yaml +++ b/.github/workflows/fuzz-build.yaml @@ -20,11 +20,10 @@ jobs: - name: Code checkout uses: actions/checkout@v4 - name: Install Rust toolchain (${{ matrix.rust }}) - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: toolchain: ${{ matrix.rust }} target: ${{ matrix.target }} - override: true - name: Install Cargo fuzz run: cargo install cargo-fuzz - name: Fuzz Build