Skip to content

Commit d2842b6

Browse files
committed
update workflows: enable pip caching in all stages with defined dependency paths
1 parent 1d6b151 commit d2842b6

4 files changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/stage-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
uses: actions/setup-python@v5
1818
with:
1919
python-version: '3.11'
20+
cache: 'pip'
21+
cache-dependency-path: |
22+
requirements.txt
23+
setup.py
2024
2125
- name: Install dependencies
2226
run: |

.github/workflows/stage-device-tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
uses: actions/setup-python@v5
2222
with:
2323
python-version: '3.11'
24+
cache: 'pip'
25+
cache-dependency-path: |
26+
requirements.txt
27+
setup.py
2428
2529
- name: Install dependencies
2630
run: |
@@ -64,6 +68,10 @@ jobs:
6468
uses: actions/setup-python@v5
6569
with:
6670
python-version: '3.11'
71+
cache: 'pip'
72+
cache-dependency-path: |
73+
requirements.txt
74+
setup.py
6775
6876
- name: Install dependencies
6977
run: |

.github/workflows/stage-lint-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
uses: actions/setup-python@v5
2020
with:
2121
python-version: '3.11'
22+
cache: 'pip'
23+
cache-dependency-path: |
24+
requirements.txt
25+
setup.py
2226
2327
- name: Install dependencies
2428
run: |

.github/workflows/stage-validation.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
uses: actions/setup-python@v5
1818
with:
1919
python-version: '3.11'
20+
cache: 'pip'
21+
cache-dependency-path: |
22+
requirements.txt
23+
setup.py
2024
2125
- name: Install dependencies
2226
run: |

0 commit comments

Comments
 (0)