Skip to content

Commit 7622618

Browse files
committed
ci: change cache action to v2
Supposed to be faster.
1 parent f9d82a3 commit 7622618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ jobs:
166166
- uses: actions/setup-python@v2
167167
- name: set PY
168168
run: echo "name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV
169-
- uses: actions/cache@v1
169+
- uses: actions/cache@v2
170170
with:
171171
path: ~/.cache/pre-commit
172172
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}

0 commit comments

Comments
 (0)