Skip to content

Commit 7b68add

Browse files
committed
fix: do not cache bash_unit in CI
This really made no sense
1 parent 6a5dea6 commit 7b68add

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/pre-commit.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
name: pre-commit
33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88
jobs:
99
pre-commit:
1010
runs-on: ubuntu-latest
@@ -25,8 +25,8 @@ jobs:
2525
with:
2626
path: |
2727
~/.cache/pre-commit/
28-
bash_unit
29-
key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml')
28+
key:
29+
pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml')
3030
}}
3131
- name: Run pre-commit hooks
3232
env:
@@ -52,8 +52,8 @@ jobs:
5252
with:
5353
path: |
5454
~/.cache/pre-commit/
55-
bash_unit
56-
key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml')
55+
key:
56+
pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml')
5757
}}
5858
- name: Provide log as artifact
5959
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)