From 03624b55812b16c473e902a265cf7f6f1100f640 Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Mon, 19 Dec 2022 14:19:32 +0100 Subject: [PATCH] fix(ci): Use beta toolchain for the clippy run (#620) This installs the beta toolchain and also ensures to use it for the clippy run. Oops. --- .github/workflows/weekly.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index 29965d1931..5d0e94ae0b 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -37,10 +37,14 @@ jobs: rm -f $PROTOC_ZIP echo "PROTOC=/usr/local/bin/protoc" >> $GITHUB_ENV echo "PROTOC_INCLUDE=/usr/local/include" >> $GITHUB_ENV - + + - name: Install ${{ matrix.rust }} + run: | + rustup toolchain install --profile default ${{ matrix.rust }} + - name: clippy all features run: | - cargo clippy --workspace --all-features --all-targets -- -D warnings + cargo +RUSTV clippy --workspace --all-features --all-targets -- -D warnings - name: Create Issue if clippy failed if: ${{ failure() }}