Skip to content

Commit 2efbe67

Browse files
committed
ci.yml now pins PIOArduino Core to v6.1.19, replaces deprecated pio platform install
1 parent 7307bf9 commit 2efbe67

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ jobs:
2727
uses: actions/cache@v4
2828
with:
2929
path: ~/.platformio
30-
key: ${{ runner.os }}-platformio-${{ hashFiles('**/library.json') }}
30+
key: ${{ runner.os }}-platformio-pioarduino-6.1.19-${{ hashFiles('**/library.json') }}
3131
restore-keys: |
32-
${{ runner.os }}-platformio-
32+
${{ runner.os }}-platformio-pioarduino-6.1.19-
3333
3434
- name: Install PIOArduino Core
35-
run: python -m pip install --upgrade https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.18.zip
35+
run: python -m pip install --upgrade https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.19.zip
3636

3737
- name: Install PIOArduino ESP32 Platform
38-
run: pio platform install https://github.com/pioarduino/platform-espressif32.git
38+
run: pio pkg install -g -p https://github.com/pioarduino/platform-espressif32.git
3939

4040
- name: Build library examples (ESP32 Arduino)
4141
run: |

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All notable changes to this project are documented in this file.
55
The format follows Keep a Changelog and the project adheres to Semantic Versioning.
66

77
## [Unreleased]
8+
- CI now pins PIOArduino Core to `v6.1.19` and installs the ESP32 platform via `pio pkg install`, restoring PlatformIO compatibility with the current `platform-espressif32` package.
89
- Added teardown contract support with `deinit()`, `isInitialized()`, and destructor-driven cleanup.
910
- Added lifecycle tests covering pre-init `deinit()`, repeated `deinit()`, and `init -> deinit -> init`.
1011
- Updated README and examples to use explicit `deinit()`.

0 commit comments

Comments
 (0)