Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit fbf7b1e

Browse files
feat(ci): enable pip caching in CI (#388)
Changes made by this PR can be summarized as follows: - Use an updated version of `actions/setup-python` so as to allow the caching of `pip`.
1 parent 4513b6c commit fbf7b1e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ jobs:
88
steps:
99
- uses: actions/checkout@v2
1010
- name: Set up Python
11-
uses: actions/setup-python@v2
11+
uses: actions/setup-python@v4
1212
with:
1313
python-version: '3.8.x'
14+
cache: 'pip'
15+
cache-dependency-path: setup.py
1416
- name: Install dependencies
1517
run: |
1618
pip install tf-nightly mock pytest

0 commit comments

Comments
 (0)