mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-24 18:10:56 -05:00
chore: Ensure pre-commit gets non-system Python
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.
This commit is contained in:
parent
68d2027407
commit
6e193aa09a
1 changed files with 2 additions and 0 deletions
2
.github/workflows/pre-commit.yml
vendored
2
.github/workflows/pre-commit.yml
vendored
|
@ -24,4 +24,6 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
|
|
Loading…
Reference in a new issue