Skip to content

Commit 9fb37de

Browse files
committed
Update GitHub Actions action versions used in workflows
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 024a5db commit 9fb37de

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/compile-examples.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,7 @@ jobs:
8383
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
8484
8585
steps:
86-
- uses: actions/checkout@v1
87-
with:
88-
fetch-depth: 1
86+
- uses: actions/checkout@v2
8987

9088
# It's necessary to checkout the platform before installing it so that the ArduinoCore-API dependency can be added
9189
- name: Checkout ArduinoCore-mbed
@@ -116,7 +114,7 @@ jobs:
116114
run: pip3 install pyserial
117115

118116
- name: Compile examples
119-
uses: arduino/compile-sketches@main
117+
uses: arduino/compile-sketches@v1
120118
with:
121119
platforms: ${{ matrix.platforms }}
122120
fqbn: ${{ matrix.board.fqbn }}
@@ -127,7 +125,7 @@ jobs:
127125

128126
- name: Save memory usage change report as artifact
129127
if: github.event_name == 'pull_request'
130-
uses: actions/upload-artifact@v1
128+
uses: actions/upload-artifact@v2
131129
with:
132130
name: ${{ env.SKETCHES_REPORTS_PATH }}
133131
path: ${{ env.SKETCHES_REPORTS_PATH }}

0 commit comments

Comments
 (0)