mirror of
https://github.com/pre-commit/action.git
synced 2025-11-07 10:46:56 +00:00
Merge pull request #24 from pre-commit/revert-20-patch-1
Revert "Update example to newer actions/* versions"
This commit is contained in:
commit
56842c8f20
1 changed files with 2 additions and 2 deletions
|
|
@ -22,8 +22,8 @@ jobs:
|
|||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-python@v1
|
||||
- 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