[WIP] remove cache from pre-commit
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m25s
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m25s
This commit is contained in:
@@ -15,14 +15,10 @@ jobs:
|
|||||||
python-version: "3.11"
|
python-version: "3.11"
|
||||||
- name: Get python version
|
- name: Get python version
|
||||||
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
|
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
|
||||||
- name: Cache pre-commit environments
|
# - uses: actions/cache@v4
|
||||||
uses: actions/cache@v4
|
# with:
|
||||||
with:
|
# path: ~/.cache/pre-commit
|
||||||
path: ~/.cache/pre-commit
|
# key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
|
||||||
key: pre-commit-${{ env.PY }}-${{ hashFiles('.pre-commit-config.yaml') }}
|
|
||||||
restore-keys: |
|
|
||||||
pre-commit-${{ env.PY }}-
|
|
||||||
pre-commit-
|
|
||||||
- name: Install pre-commit
|
- name: Install pre-commit
|
||||||
run: pip install pre-commit
|
run: pip install pre-commit
|
||||||
- name: Run pre-commit
|
- name: Run pre-commit
|
||||||
|
Reference in New Issue
Block a user