Skip to content

Commit

Permalink
chore: fix github actions cache warnings
Browse files Browse the repository at this point in the history
I'd used an older github actions of mine as a basis for the cache blocks, and they referenced an out-of-date cache version.

contributes to #147
  • Loading branch information
kfsone authored and eyeonus committed May 1, 2024
1 parent 3d0592a commit fda2c26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ jobs:
python-version: ${{ matrix.py }}

- name: Cache python packages
uses: actions/cache@v3
uses: actions/cache@v4.0.2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements*.txt') }}
restore-keys: ${{ runner.os }}-pip-

- name: Cache tox results
uses: actions/cache@v3
uses: actions/cache@v4.0.2
with:
path: .tox
key: ${{ runner.os }}-${{ matrix.py }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements*.txt') }}
Expand Down

0 comments on commit fda2c26

Please sign in to comment.