another try...

maybe i'm reading the gh automation error message wrong?
This commit is contained in:
bunnie 2024-01-11 21:56:52 +08:00
parent 62a351f813
commit d14e1b2608

View file

@ -15,8 +15,8 @@ jobs:
- name: Ensure the `main` branch rustfmt is applied for the run
run: |
git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin origin/main
git checkout main rustfmt.toml
git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin main
git checkout origin/main rustfmt.toml
- name: Run cargo +nightly fmt --check
run: cargo +nightly fmt --check