Skip to content

Commit

Permalink
Preserve pip cache across GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisfreitag committed Jul 19, 2024
1 parent 578aa07 commit c4aa890
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:

- name: Set up Python
uses: actions/setup-python@v5
with:
cache: pip

- name: Install dependencies
run: python -m pip install tox
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: pip

- name: Install dependencies
run: pip install --user build django setuptools twine wheel
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip

- name: Install dependencies
run: python -m pip install coveralls tox-gh
Expand Down

0 comments on commit c4aa890

Please sign in to comment.