Skip to content

Commit 2dedee8

Browse files
authored
Use major version ref of arduino/compile-sketches action (#24)
The `arduino/compile-sketches` GitHub Actions action is used by the CI system to compile the library's example sketches for each of the supported boards in order to provide a "smoke test". Previously, due to the use of an older modified variant of Arduino CLI, a specific ref of the action had to be used. The variant of Arduino CLI has since been brought up to date, allowing it to be used with the current version of the action. Use of the major version ref will cause the workflow to use a stable version of the action while also benefit from ongoing development to the action up until such time as a new major release of an action is made, at which time we would need to evaluate whether any changes to the workflow are required by the breaking change that triggered the major release before updating the major ref (e.g., uses: `arduino/compile-sketches@v2`).
1 parent 730c294 commit 2dedee8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/compile-examples.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ jobs:
8080
mv "${{ env.ARDUINOCORE_API_STAGING_PATH }}/api" "${{ env.ARDUINOCORE_MBED_STAGING_PATH }}/cores/arduino"
8181
8282
- name: Compile examples
83-
# Due to using obsolete JSON output keys and a non-semver version, the modified "arduino_threads" version of
84-
# Arduino CLI is not compatible with any version of `arduino/compile-sketches` after this ref, thus the pin:
85-
uses: arduino/compile-sketches@15d79dc244a7a19b8129a83d4d34c6ba44859f01
83+
uses: arduino/compile-sketches@v1
8684
with:
8785
cli-version: 'arduino_threads'
8886
fqbn: ${{ matrix.fqbn }}

0 commit comments

Comments
 (0)