Skip to content

Commit

Permalink
Cache pip and pre-commit in ci-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sadikkuzu committed Sep 17, 2023
1 parent 5b69e35 commit 971b260
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
cache: pip

- uses: actions/cache@v3
if: startsWith(runner.os, 'Linux')
with:
path: ~/.cache/pre-commit
key: ${{ runner.os }}|pre-commit

- name: Install dependencies
run: |
Expand Down

0 comments on commit 971b260

Please sign in to comment.