Skip to content

Commit 16eb5d9

Browse files
committed
feat(wokwi-test): add pip caching to optimize workflow performance
1 parent 4b85861 commit 16eb5d9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/wokwi-test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ jobs:
7070
steps:
7171
- uses: actions/checkout@v4
7272

73+
- name: Cache pip
74+
uses: actions/cache@v4
75+
with:
76+
path: ~/.cache/pip
77+
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
78+
restore-keys: |
79+
${{ runner.os }}-pip-
80+
7381
- name: Cache PlatformIO
7482
uses: actions/cache@v4
7583
with:

0 commit comments

Comments
 (0)