Skip to content

Commit

Permalink
chore: Ensure pre-commit gets non-system Python
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 authored and SRv6d committed Sep 29, 2024
1 parent c8b2853 commit aa41b04
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 @@ -26,4 +26,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 aa41b04

Please sign in to comment.