Skip to content

Commit 5992d05

Browse files
authored
Install rustfmt before linting releases (#28495)
Summary -- Fixes the prek step in the prepare release workflow: https://github.com/astral-sh/ruff/actions/runs/34504504512/job/102963217706 I was surprised prek didn't handle this, but I guess that's how we defined the hook: https://github.com/astral-sh/ruff/blob/1713a1f4325494d883a080d590a25a1946f399e8/.pre-commit-config.yaml#L47-L54 Test Plan -- Preparing today's release
1 parent 1713a1f commit 5992d05

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/release-prepare.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ jobs:
6464
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
6565
INPUT_VERSION: ${{ inputs.version }}
6666

67+
- name: "Install Rust toolchain"
68+
run: rustup component add rustfmt
69+
6770
- name: "Format and check release changes"
6871
shell: bash
6972
run: |

0 commit comments

Comments
 (0)