Run cargo fix as well as cargo clippy --fix (#45394)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin
2025-12-19 14:27:44 -07:00
committed by GitHub
parent 71f4dc2481
commit ff71f4d46d
2 changed files with 11 additions and 0 deletions

View File

@@ -54,6 +54,10 @@ jobs:
- name: autofix_pr::run_autofix::run_cargo_fmt
run: cargo fmt --all
shell: bash -euxo pipefail {0}
- name: autofix_pr::run_autofix::run_cargo_fix
if: ${{ inputs.run_clippy }}
run: cargo fix --workspace --release --all-targets --all-features --allow-dirty --allow-staged
shell: bash -euxo pipefail {0}
- name: autofix_pr::run_autofix::run_clippy_fix
if: ${{ inputs.run_clippy }}
run: cargo clippy --workspace --release --all-targets --all-features --fix --allow-dirty --allow-staged