Skip to content

Commit e183e2b

Browse files
authored
Caching pip dependencies (#63)
1 parent 94ae569 commit e183e2b

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/python-latest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
uses: actions/setup-python@v4
3535
with:
3636
python-version: ${{ matrix.python-version }}
37+
cache: 'pip' # caching pip dependencies
38+
3739
- name: Install dependencies
3840
run: |
3941
python -m pip install -r requirements.txt -r test-requirements.txt

.github/workflows/python-package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
uses: actions/setup-python@v4
2626
with:
2727
python-version: ${{ matrix.python-version }}
28+
cache: 'pip' # caching pip dependencies
29+
2830
- name: Install dependencies
2931
run: make init
3032
- name: Lint

.github/workflows/twine-check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
uses: actions/setup-python@v4
1717
with:
1818
python-version: '3.x'
19+
cache: 'pip' # caching pip dependencies
1920

2021
- name: Set up Requirements
2122
run: python -m pip install -r publish-requirements.txt

0 commit comments

Comments
 (0)