mirror of
https://github.com/pre-commit/action.git
synced 2025-11-07 10:46:56 +00:00
update action checkout, cache, python
This commit is contained in:
parent
c7d159c209
commit
09dd52d130
2 changed files with 3 additions and 3 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
|
@ -7,7 +7,7 @@ jobs:
|
||||||
main:
|
main:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v3
|
- uses: actions/setup-python@v5
|
||||||
- name: self test action
|
- name: self test action
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ runs:
|
||||||
shell: bash
|
shell: bash
|
||||||
- run: python -m pip freeze --local
|
- run: python -m pip freeze --local
|
||||||
shell: bash
|
shell: bash
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pre-commit
|
path: ~/.cache/pre-commit
|
||||||
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
|
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue