summaryrefslogtreecommitdiff
path: root/.github/workflows/pre-commit.yml
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2021-01-29 11:36:27 -0600
committerJeff Epler <jepler@gmail.com>2021-01-29 11:36:27 -0600
commit66e0f2dcff75cebefa6a8cdc85169d21682b0032 (patch)
tree49244843e4e7cb7013eaf2c7324b46efe6dd4de2 /.github/workflows/pre-commit.yml
parentf6f007a9f49300796585344fda02115008e2a789 (diff)
workflows: use actions/cache@v2
Diffstat (limited to '.github/workflows/pre-commit.yml')
-rw-r--r--.github/workflows/pre-commit.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index af62072c8..76bfd7786 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -21,7 +21,7 @@ jobs:
run: git submodule update --init extmod/ulab
- name: set PY
run: echo >>$GITHUB_ENV PY="$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
- - uses: actions/cache@v1
+ - uses: actions/cache@v2
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}