Skip to content

Commit 5affc91

Browse files
committed
feat: add caching based on all platform*.ini files
1 parent e415191 commit 5affc91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
~/.platformio/.cache
6363
~/.platformio/packages
6464
~/.platformio/platforms
65-
key: ${{ runner.os }}-pio-${{ hashFiles('platformio.ini') }}
65+
key: ${{ runner.os }}-pio-${{ hashFiles('platformio*.ini') }}
6666

6767
# Run cppcheck and clang-tidy.
6868
- name: Perform static checks on ${{ matrix.environment }}
@@ -101,7 +101,7 @@ jobs:
101101
~/.platformio/.cache
102102
~/.platformio/packages
103103
~/.platformio/platforms
104-
key: ${{ runner.os }}-pio-${{ hashFiles('platformio.ini') }}
104+
key: ${{ runner.os }}-pio-${{ hashFiles('platformio*.ini') }}
105105

106106
# Run cppcheck and clang-tidy.
107107
- name: Perform static checks on ${{ matrix.environment }}
@@ -134,7 +134,7 @@ jobs:
134134
~/.platformio/.cache
135135
~/.platformio/packages
136136
~/.platformio/platforms
137-
key: ${{ runner.os }}-pio-${{ hashFiles('platformio.ini') }}
137+
key: ${{ runner.os }}-pio-${{ hashFiles('platformio*.ini') }}
138138

139139
- name: Run tests on native environment
140140
run: platformio test --environment Test -vvv

0 commit comments

Comments
 (0)