From 67cec471f726a3120532984c455064bc2a760430 Mon Sep 17 00:00:00 2001 From: Elmar Athmer Date: Thu, 19 Oct 2023 23:38:29 +0200 Subject: [PATCH] run clippy::pedantic with stable, too --- .github/workflows/rust.yml | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fba3b5b..6fc5d51 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -44,32 +44,8 @@ jobs: - name: linter run: cargo clippy -- -D warnings - pedantic: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: install clippy nightly - run: rustup toolchain install nightly --component clippy - - - name: get rust nightly version - id: rust_nightly - run: echo ::set-output name=version::$(rustup run nightly rustc --version) - - - uses: actions/cache@v2 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-${{ steps.rust_nightly.outputs.version }} - restore-keys: | - ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}- - ${{ runner.os }}-cargo- - - name: run the pedantic linter (warnings only) - run: cargo +nightly clippy --color=always --all-targets -- -W clippy::pedantic + run: cargo clippy --color=always --all-targets -- -W clippy::pedantic build: needs: check