We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec88d6f commit a8b12c7Copy full SHA for a8b12c7
1 file changed
.github/workflows/hypha-ci.yml
@@ -13,6 +13,10 @@ concurrency:
13
group: ${{ github.head_ref || github.run_id }}
14
cancel-in-progress: true
15
16
+defaults:
17
+ run:
18
+ shell: bash
19
+
20
jobs:
21
lint:
22
runs-on: ubuntu-latest
@@ -23,8 +27,16 @@ jobs:
23
27
with:
24
28
python-version-file: ".python-version"
25
29
30
+ - name: Install pre-commit
31
+ run: python -m pip install pre-commit
32
33
+ - uses: actions/cache@v5
34
+ with:
35
+ path: ~/.cache/pre-commit
36
+ key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
37
26
38
- name: Run pre-commit
- uses: pre-commit/action@v3.0.1
39
+ run: pre-commit run --show-diff-on-failure --color=always --all-files
40
41
django-checks:
42
0 commit comments