diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 280bd131..5e75c2d2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -72,8 +72,10 @@ jobs: ~/.cargo/git target key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - name: Check Lints - uses: actions-rs/clippy-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --all-features --all-targets + - name: Check clippy lints + run: cargo make clippy + # - name: Check Lints + # uses: actions-rs/clippy-check@v1 + # with: + # token: ${{ secrets.GITHUB_TOKEN }} + # args: --all-features --all-targets --deny warnings diff --git a/Makefile.toml b/Makefile.toml index 88f3e1ee..16057604 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -92,7 +92,7 @@ args = [ # Simple clippy tweak [tasks.clippy] -args = ["clippy", "--all-targets","--all-features","--", "@@split(CARGO_MAKE_TASK_ARGS,;)"] +args = ["clippy", "--all-targets","--all-features","--","--deny","warnings", "@@split(CARGO_MAKE_TASK_ARGS,;)"] # Release building and installing Zellij [tasks.install]