Skip to content

Commit 6e07f01

Browse files
authored
Merge pull request #96 from codeforboston/cache-pip-requirements
Cache pip requirements in GitHub Actions
2 parents 2b7f0eb + 25da1ed commit 6e07f01

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
uses: actions/setup-python@v5
1818
with:
1919
python-version: "3.12"
20+
cache: 'pip'
2021

2122
- name: Install dependencies
2223
run: pip install --break-system-packages -r requirements.txt

.github/workflows/prod.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
uses: actions/setup-python@v5
2121
with:
2222
python-version: "3.12"
23+
cache: 'pip'
2324

2425
- name: Install dependencies
2526
run: pip install --break-system-packages -r requirements.txt

0 commit comments

Comments
 (0)