Skip to content

Commit

Permalink
Add pip cache to minimal workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
endorxmr committed Jul 10, 2023
1 parent e9ab752 commit 15609ab
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ jobs:
# path: build/deps/dload
# key: deps-${{ hashFiles('build/deps/dload/*') }}
# restore-keys: deps-${{ hashFiles('build/deps/dload/*') }}
- name: Cache pip packages
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
- name: prepare environment
run: util/prep-env.sh
- name: set apt conf
Expand Down Expand Up @@ -112,6 +117,11 @@ jobs:
# path: build/deps/dload
# key: deps-${{ hashFiles('build/deps/dload/*') }}
# restore-keys: deps-${{ hashFiles('build/deps/dload/*') }}
- name: Cache pip packages
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
- name: prepare environment
run: util/prep-env.sh
- name: set apt conf
Expand Down Expand Up @@ -163,6 +173,11 @@ jobs:
restore-keys: |
data-diff-01-${{ github.sha }}
data-diff-01
- name: Cache pip packages
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
- name: prepare environment
run: util/prep-env.sh
- name: install dependencies
Expand Down

0 comments on commit 15609ab

Please sign in to comment.