Skip to content

Commit c2722ae

Browse files
committed
Update action dependencies of GitHub Actions workflows
The repository's GitHub Actions workflows use several GitHub Actions actions. The steps that use the actions pin the dependency to a major version series. This means the specific dependency version is unmanaged within that major version series, but the reference must be updated after there is a new major version release of the dependency. Several of the dependencies were pinned to outdated major version refs, causing the workflows to miss the benefits of recent development work on those dependencies. They are hereby updated to the latest major version refs. The breaking changes that caused the major version bumps in the dependencies are not relevant to our usage of them so no additional adjustments are needed in order to perform these bumps.
1 parent ed6838d commit c2722ae

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/compile-examples.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595

9696
# The source files are in a subfolder of the ArduinoCore-API repository, so it's not possible to clone it directly to the final destination in the core
9797
- name: Checkout ArduinoCore-API
98-
uses: actions/checkout@v2
98+
uses: actions/checkout@v3
9999
with:
100100
repository: arduino/ArduinoCore-API
101101
path: extras/ArduinoCore-API
@@ -110,7 +110,7 @@ jobs:
110110
if: steps.checkapi.outputs.IS_API == 'true'
111111

112112
- name: Checkout Basic examples
113-
uses: actions/checkout@v2
113+
uses: actions/checkout@v3
114114
with:
115115
repository: arduino/arduino-examples
116116
path: examples
@@ -163,7 +163,7 @@ jobs:
163163
github-token: ${{ secrets.GITHUB_TOKEN }}
164164

165165
- name: Save memory usage change report as artifact
166-
uses: actions/upload-artifact@v1
166+
uses: actions/upload-artifact@v3
167167
with:
168168
name: sketches-reports
169169
path: sketches-reports

.github/workflows/sync-labels.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
- name: Download JSON schema for labels configuration file
3333
id: download-schema
34-
uses: carlosperate/download-file-action@v1
34+
uses: carlosperate/download-file-action@v2
3535
with:
3636
file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/arduino-tooling-gh-label-configuration-schema.json
3737
location: ${{ runner.temp }}/label-configuration-schema
@@ -65,7 +65,7 @@ jobs:
6565

6666
steps:
6767
- name: Download
68-
uses: carlosperate/download-file-action@v1
68+
uses: carlosperate/download-file-action@v2
6969
with:
7070
file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/${{ matrix.filename }}
7171

@@ -114,7 +114,7 @@ jobs:
114114
path: ${{ env.CONFIGURATIONS_FOLDER }}
115115

116116
- name: Remove unneeded artifact
117-
uses: geekyeggo/delete-artifact@v1
117+
uses: geekyeggo/delete-artifact@v2
118118
with:
119119
name: ${{ env.CONFIGURATIONS_ARTIFACT }}
120120

0 commit comments

Comments
 (0)