From 26b2dd37cdabe482701ba06e88f4ec5d7a9850b7 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 23 Feb 2024 10:38:35 +0100 Subject: [PATCH] Clean up the clippy and rustfmt entries --- .github/workflows/av-scenechange.yml | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/av-scenechange.yml b/.github/workflows/av-scenechange.yml index 8d630e8..3ac5c5e 100644 --- a/.github/workflows/av-scenechange.yml +++ b/.github/workflows/av-scenechange.yml @@ -34,23 +34,13 @@ jobs: sudo dpkg -i "nasm_${NASM_VERSION}_amd64.deb" - name: Run rustfmt - uses: actions-rs/cargo@v1 - with: - command: fmt - args: -- --check --verbose - - - name: Lint no-default-features - uses: actions-rs/clippy-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --no-default-features + run: | + cargo fmt -- --check --verbose - - name: Lint - uses: actions-rs/clippy-check@v1 + - name: Run clippy + uses: clechasseur/rs-clippy-check@v3 with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --all-features --tests --benches - name: lint + args: -- -D warnings --verbose -A clippy::wrong-self-convention -A clippy::many_single_char_names -A clippy::upper-case-acronyms build: