11
0
Fork 0
mirror of https://github.com/pre-commit/action.git synced 2026-04-07 14:56:54 +00:00

action.yml: Get cache key back in sync with pre-commit major version

This commit is contained in:
Sebastian P 2026-03-16 12:50:50 +01:00
parent 1b06ec171f
commit aaf501b034

View file

@ -15,6 +15,6 @@ runs:
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
- run: pre-commit run --show-diff-on-failure --color=always ${{ inputs.extra_args }}
shell: bash