Skip to content

Commit

Permalink
feat(ci): add pre-commit to pip deps cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jaygridley committed Dec 19, 2024
1 parent 23fc3a2 commit a15e6c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt', '.pre-commit-config.yaml') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Python dependencies
- name: Install pip dependencies
run: pip install -r requirements.txt

- uses: pre-commit/[email protected]

0 comments on commit a15e6c0

Please sign in to comment.