mirror of
https://github.com/pre-commit/action.git
synced 2025-11-07 10:46:56 +00:00
Update example to newer actions/* versions
This commit is contained in:
parent
80db042ff0
commit
0ed43356a6
1 changed files with 2 additions and 2 deletions
|
|
@ -22,8 +22,8 @@ jobs:
|
|||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-python@v1
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
- name: set PY
|
||||
run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
|
||||
- uses: actions/cache@v1
|
||||
|
|
|
|||
Loading…
Reference in a new issue