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(