Skip to content

Commit f34e70e

Browse files
committed
CI: Add dependency package caching per GHA's actions/setup-python
1 parent e6d8e53 commit f34e70e

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.github/workflows/docs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
uses: actions/setup-python@v4
2424
with:
2525
python-version: '3.9'
26+
cache: 'pip'
27+
cache-dependency-path: 'setup.py'
2628

2729
- name: Build docs
2830
run: |

.github/workflows/nightly.yml

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
uses: actions/setup-python@v4
3131
with:
3232
python-version: ${{ matrix.python-version }}
33+
cache: 'pip'
34+
cache-dependency-path: 'setup.py'
3335

3436
- name: Invoke tests
3537
run: |

.github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
uses: actions/setup-python@v4
1616
with:
1717
python-version: '3.9'
18+
cache: 'pip'
19+
cache-dependency-path: 'setup.py'
1820

1921
- name: Build package
2022
run: |

.github/workflows/tests.yml

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
uses: actions/setup-python@v4
3232
with:
3333
python-version: ${{ matrix.python-version }}
34+
cache: 'pip'
35+
cache-dependency-path: 'setup.py'
3436

3537
- name: Invoke tests
3638
run: |

0 commit comments

Comments
 (0)