From e04d1de80e709504434e85f20ee1b90f73ec403e Mon Sep 17 00:00:00 2001 From: Demmie <2e3s19@gmail.com> Date: Sat, 4 Nov 2023 22:02:19 -0400 Subject: [PATCH] Fix toolchain version for GHA Yesterday "plugin" feature was removed, and one dependency uses it. --- .github/workflows/release.yml | 4 +++- .github/workflows/verify.yml | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c5beb7b..3f18a7a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,9 @@ jobs: AW_WEBUI_DIR: ${{ github.workspace }}/aw-webui/dist steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@nightly + - uses: dtolnay/rust-toolchain@master + with: + toolchain: nightly-2023-11-01 - name: Install dependencies run: | sudo apt-get update diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 1d1b4a1..308edd3 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -24,8 +24,9 @@ jobs: steps: - uses: actions/checkout@v3 - run: sudo apt-get install -y libdbus-1-dev - - uses: dtolnay/rust-toolchain@nightly + - uses: dtolnay/rust-toolchain@master with: + toolchain: nightly-2023-11-01 components: clippy - uses: Swatinem/rust-cache@v2 - run: cargo clippy --locked --all-targets --all-features --workspace -- -D warnings @@ -37,8 +38,9 @@ jobs: steps: - uses: actions/checkout@v3 - run: sudo apt-get install -y libdbus-1-dev - - uses: dtolnay/rust-toolchain@nightly + - uses: dtolnay/rust-toolchain@master with: + toolchain: nightly-2023-11-01 components: clippy - uses: Swatinem/rust-cache@v2 - run: cargo test --all-features --workspace