5
0
Fork 0
mirror of https://github.com/pre-commit/action.git synced 2025-11-07 10:46:56 +00:00

Pin action to a commit sha

This commit is contained in:
Avri Schneider 2023-03-02 00:05:46 +02:00 committed by GitHub
parent 5f528da5c9
commit e09dabc38d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ runs:
shell: bash shell: bash
- run: python -m pip freeze --local - run: python -m pip freeze --local
shell: bash shell: bash
- uses: actions/cache@v3 - uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # actions/cache@v3.2.6
with: with:
path: ~/.cache/pre-commit path: ~/.cache/pre-commit
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }} key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}