From 2b1745325392263da8b13ad897f666713272abd7 Mon Sep 17 00:00:00 2001 From: Tushar Mathur Date: Wed, 11 Dec 2024 13:36:14 -0800 Subject: [PATCH] chore: add allow-dirty --- .github/workflows/ci.yml | 2 +- crates/gh-workflow-tailcall/src/workflow.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7e986b..4f1dd49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,7 @@ jobs: - name: Cargo Fmt run: cargo +nightly fmt --all - name: Cargo Clippy - run: cargo +nightly clippy --fix --all-features --workspace -- -D warnings + run: cargo +nightly clippy --fix --allow-dirty --all-features --workspace -- -D warnings - uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c release: needs: diff --git a/crates/gh-workflow-tailcall/src/workflow.rs b/crates/gh-workflow-tailcall/src/workflow.rs index b1e9f69..0a114d1 100644 --- a/crates/gh-workflow-tailcall/src/workflow.rs +++ b/crates/gh-workflow-tailcall/src/workflow.rs @@ -109,6 +109,7 @@ impl Workflow { .name("Cargo Clippy") .nightly() .add_args_when(self.auto_fix, "--fix") + .add_args_when(self.auto_fix, "--allow-dirty") .add_args("--all-features --workspace -- -D warnings"), ) .add_step_when(