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