Skip to content

Commit

Permalink
fix(ci): Use beta toolchain for the clippy run (#620)
Browse files Browse the repository at this point in the history
This installs the beta toolchain and also ensures to use it for the
clippy run.  Oops.
  • Loading branch information
flub authored Dec 19, 2022
1 parent 214d9ce commit 03624b5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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() }}
Expand Down

0 comments on commit 03624b5

Please sign in to comment.