Skip to content

Commit eeac55a

Browse files
authored
Install rustfmt as part of the build (#3772)
1 parent 9162058 commit eeac55a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/fmt.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@ jobs:
2222
uses: actions/checkout@v5
2323
- name: Update toolchain
2424
run: rustup update --no-self-update stable && rustup default stable
25+
- name: Install rustfmt
26+
run: rustup component add rustfmt
2527
- name: Check
2628
run: cargo fmt --all -- --check

.github/workflows/gen.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
uses: actions/checkout@v5
2727
- name: Update toolchain
2828
run: rustup update --no-self-update stable && rustup default stable
29+
- name: Install rustfmt
30+
run: rustup component add rustfmt
2931
- name: Run
3032
run: cargo run -p tool_${{ matrix.tool }} --release
3133
- name: Check

0 commit comments

Comments
 (0)