summaryrefslogtreecommitdiff
path: root/.github/workflows/pre-commit.yml
diff options
context:
space:
mode:
authorDan Halbert <halbert@adafruit.com>2021-01-29 13:40:13 -0500
committerGitHub <noreply@github.com>2021-01-29 13:40:13 -0500
commit70a5f464df709737fb90a9ab69baf08671c8f383 (patch)
tree2e7bc5a685d78d711564b16d5ec5356f42c0038c /.github/workflows/pre-commit.yml
parentd4780a5192c2f467b859a814540a260f1b5c0f52 (diff)
parent66e0f2dcff75cebefa6a8cdc85169d21682b0032 (diff)
Merge pull request #4090 from jepler/update-actions-v2
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') }}