We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b3b0a commit 0554acbCopy full SHA for 0554acb
.github/workflows/validate.yml
@@ -20,5 +20,12 @@ jobs:
20
uses: actions/setup-python@v6
21
with:
22
python-version: '3.12'
23
+ - name: Install dependencies
24
+ run: python -m pip install pre-commit
25
+ - name: Cache pre-commit environments
26
+ uses: actions/cache@v4
27
+ with:
28
+ key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
29
+ path: ~/.cache/pre-commit
30
- name: Run pre-commit hooks
- uses: pre-commit/action@v3.0.1
31
+ run: pre-commit run -a --show-diff-on-failure --color=always
0 commit comments