diff --git a/.github/workflows/rustfmt_check.yml b/.github/workflows/rustfmt_check.yml index 5077b0adc..4b08e7da7 100644 --- a/.github/workflows/rustfmt_check.yml +++ b/.github/workflows/rustfmt_check.yml @@ -15,7 +15,7 @@ jobs: - name: Ensure the `main` branch rustfmt is applied for the run run: | - git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin/main + git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin main git checkout main rustfmt.toml - name: Run cargo +nightly fmt --check