mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
modify format CI flow to generate template files prior to checks
This commit is contained in:
parent
9234b11962
commit
d1a925c224
1 changed files with 3 additions and 0 deletions
3
.github/workflows/rustfmt_check.yml
vendored
3
.github/workflows/rustfmt_check.yml
vendored
|
|
@ -18,6 +18,9 @@ jobs:
|
|||
git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin main
|
||||
git checkout origin/main rustfmt.toml
|
||||
|
||||
- name: Generate dummy templates so formating checks don't choke on missing xtask-generated files
|
||||
run: cargo xtask dummy-template
|
||||
|
||||
- name: Run cargo +nightly fmt --check
|
||||
run: cargo +nightly fmt --check
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue