Skip to content

Commit 30c4acd

Browse files
committed
Use major version refs of sketch compilation actions
Previously, due to the lack of a release, the development versions of the sketch compilation actions were used. Using release versions provides a more stable CI system for the ArduinoCore-mbed project. Use of the major version ref will cause the workflow to benefit from ongoing development to the action up until such time as a new major release 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 a72fa7a commit 30c4acd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/compile-examples.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
run: mv "$GITHUB_WORKSPACE/ArduinoCore-API/api" "$GITHUB_WORKSPACE/cores/arduino"
8888

8989
- name: Compile examples
90-
uses: arduino/compile-sketches@main
90+
uses: arduino/compile-sketches@v1
9191
with:
9292
github-token: ${{ secrets.GITHUB_TOKEN }}
9393
fqbn: ${{ matrix.board.fqbn }}

.github/workflows/report-size-deltas.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Comment size deltas reports to PRs
11-
uses: arduino/report-size-deltas@main
11+
uses: arduino/report-size-deltas@v1
1212
with:
1313
# The name of the workflow artifact created by the sketch compilation workflow
1414
sketches-reports-source: sketches-reports

0 commit comments

Comments
 (0)