Skip to content

Commit

Permalink
modify format CI flow to generate template files prior to checks
Browse files Browse the repository at this point in the history
  • Loading branch information
bunnie committed Jan 14, 2024
1 parent 9234b11 commit d1a925c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/rustfmt_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d1a925c

Please sign in to comment.