mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
have to fetch main before we can checkout the rustfmt.toml
This commit is contained in:
parent
5f0e2a48b0
commit
6405f91fd7
1 changed files with 3 additions and 1 deletions
4
.github/workflows/rustfmt_check.yml
vendored
4
.github/workflows/rustfmt_check.yml
vendored
|
|
@ -14,7 +14,9 @@ jobs:
|
|||
rustup component add rustfmt --toolchain nightly
|
||||
|
||||
- name: Ensure the `main` branch rustfmt is applied for the run
|
||||
run: git checkout main rustfmt.toml
|
||||
run: |
|
||||
git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin/main
|
||||
git checkout main rustfmt.toml
|
||||
|
||||
- name: Run cargo +nightly fmt --check
|
||||
run: cargo +nightly fmt --check
|
||||
|
|
|
|||
Loading…
Reference in a new issue