Skip to content

Commit e15c3bd

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 actions 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 d31a98b commit e15c3bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/compile-examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
uses: actions/checkout@v2
4646

4747
- name: Compile examples
48-
uses: arduino/compile-sketches@main
48+
uses: arduino/compile-sketches@v1
4949
with:
5050
github-token: ${{ secrets.GITHUB_TOKEN }}
5151
fqbn: ${{ matrix.board.fqbn }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
# See: https://github.com/arduino/actions/blob/master/libraries/report-size-deltas/README.md
2020
- name: Comment size deltas reports to PRs
21-
uses: arduino/report-size-deltas@main
21+
uses: arduino/report-size-deltas@v1
2222
with:
2323
# The name of the workflow artifact created by the "Compile Examples" workflow
2424
sketches-reports-source: sketches-reports

0 commit comments

Comments
 (0)