File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,19 +47,19 @@ jobs:
47
47
name : Lint / `pre-commit`
48
48
needs : should-run
49
49
if : fromJSON(needs.should-run.outputs.should-run)
50
- container : techneg/ci-pre-commit:v2.2.29
50
+ container : techneg/ci-pre-commit:v2.3.1
51
51
runs-on : ubuntu-latest
52
52
timeout-minutes : 5
53
53
steps :
54
54
# yamllint disable-line rule:comments
55
55
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
56
- - name : Export Python package hash for caching
57
- run : echo "PYTHON_SHA256=$PYTHON_SHA256 " >> $GITHUB_ENV
56
+ - name : Export `CI_CACHE_ID` from container
57
+ run : echo "CI_CACHE_ID=$(cat /.ci_cache_id) " >> $GITHUB_ENV
58
58
# yamllint disable-line rule:comments
59
59
60
60
with :
61
61
path : ~/.cache/pre-commit
62
- key : " pre-commit-4| ${{ env.PYTHON_SHA256 }}|\
62
+ key : " ${{ env.CI_CACHE_ID }}|\
63
63
${{ hashFiles('.pre-commit-config.yaml') }}"
64
64
- name : Run `pre-commit`
65
65
run : |
You can’t perform that action at this time.
0 commit comments