Skip to content

Commit

Permalink
use cache: 'pip'
Browse files Browse the repository at this point in the history
  • Loading branch information
thijstriemstra committed Feb 6, 2024
1 parent ebdc9bd commit aec65ac
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup pip cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
cache: 'pip'
- name: Install dependencies
run: |
sudo apt-get update -y
Expand All @@ -56,13 +50,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup pip cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
cache: 'pip'
- name: Install dependencies
run: |
export HOMEBREW_NO_AUTO_UPDATE=1
Expand Down

0 comments on commit aec65ac

Please sign in to comment.