From 28f2c9ad9e09c0bea723f99deec471c14d9788fc Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sun, 23 Jul 2023 16:49:10 +0700 Subject: [PATCH] ci: Stop using `actions-rs/toolchain`. The `actions-rs` actions haven't been maintained in some time and result in a number of deprecation warnings from GitHub Actions. --- .github/workflows/format.yml | 3 +-- .github/workflows/test.yaml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 0cac3a7b..67531358 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -10,10 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Toolchain setup - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@master with: toolchain: nightly - override: true components: rustfmt - uses: actions/checkout@v3 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9d160593..33ca0f1c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -38,10 +38,9 @@ jobs: path: ~/.cargo/bin key: ${{ runner.os }}-cargo-bin-${{ hashFiles('**/Cargo.lock') }} - name: Toolchain setup - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@master with: toolchain: nightly - override: true components: llvm-tools-preview - name: Install grcov if: matrix.rust-version == 'nightly' && matrix.cargo-args == '--all-features'