Skip to content

Commit

Permalink
chore: Pin pre-commit's python version
Browse files Browse the repository at this point in the history
This is needed with the ubuntu-24.04 images so that `setup-python` will
install a version of Python that the pre-commit action can install into.

See pre-commit/action#210 for more of an analysis of this.
  • Loading branch information
epage committed Sep 27, 2024
1 parent 68d2027 commit 8315293
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: pre-commit/[email protected]

0 comments on commit 8315293

Please sign in to comment.