[WIP] precommit test
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 7s

This commit is contained in:
jscampucci
2025-09-17 14:51:58 +02:00
parent ddabb72ad2
commit 6e95c07e69
2 changed files with 24 additions and 39 deletions

View File

@@ -15,14 +15,14 @@ jobs:
python-version: "3.11"
- name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
# - uses: actions/cache@v4
# with:
# path: ~/.cache/pre-commit
# key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files --show-diff-on-failure --color=always
run: pre-commit run --all-files --show-diff-on-failure --color=always --verbose=true
env:
# Consider valid a PR that changes README fragments but doesn't
# change the README.rst file itself. It's not really a problem