Skip to content

Commit 4b85861

Browse files
committed
feat(wokwi-test): add caching for PlatformIO to improve workflow efficiency
1 parent 59da09a commit 4b85861

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/wokwi-test.yml

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

73+
- name: Cache PlatformIO
74+
uses: actions/cache@v4
75+
with:
76+
path: |
77+
~/.platformio
78+
key: ${{ runner.os }}-platformio-${{ hashFiles('**/platformio.ini') }}
79+
restore-keys: |
80+
${{ runner.os }}-platformio-
81+
7382
- name: Install PlatformIO
7483
run: |
7584
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)