Skip to content

Commit

Permalink
🧪 Cache pre-commit.com virtualenvs @ CI
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Dec 15, 2023
1 parent 7394415 commit d92751c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/reusable-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ jobs:
python-version: ${{ env.PYTHON_LATEST }}
cache: pip
cache-dependency-path: requirements/*.txt
- name: Cache pre-commit.com virtualenvs
uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: >-
${{
runner.os
}}-pre-commit-${{
hashFiles('.pre-commit-config.yaml')
}}
- name: Install dependencies
uses: py-actions/py-dependency-install@v4
with:
Expand Down

0 comments on commit d92751c

Please sign in to comment.