Skip to content

Commit de7294d

Browse files
committed
Use latest action versions in example workflow snippets
The documentation includes some snippets of GitHub Actions workflows. In addition to arduino/report-size-deltas, these workflows use some additional actions. Although not essential for the purposes of documenting the usage of this project, it will be better to use the latest version of these action dependencies to make it more likely that the readers will do the same in their own real workflows.
1 parent 4998c92 commit de7294d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ jobs:
8383
compile:
8484
runs-on: ubuntu-latest
8585
steps:
86-
- uses: actions/checkout@v2
86+
- uses: actions/checkout@v4
8787
- uses: arduino/compile-sketches@v1
8888
with:
8989
enable-deltas-report: true
90-
- uses: actions/upload-artifact@v2
90+
- uses: actions/upload-artifact@v3
9191
with:
9292
name: sketches-reports
9393
path: sketches-reports
@@ -110,7 +110,7 @@ jobs:
110110
- "arduino:avr:uno"
111111
- "arduino:samd:mkrzero"
112112
steps:
113-
- uses: actions/checkout@v2
113+
- uses: actions/checkout@v4
114114
115115
- uses: arduino/compile-sketches@v1
116116
with:
@@ -120,7 +120,7 @@ jobs:
120120
121121
# This step is needed to pass the size data to the report job
122122
- name: Upload sketches report to workflow artifact
123-
uses: actions/upload-artifact@v2
123+
uses: actions/upload-artifact@v3
124124
with:
125125
name: ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
126126
path: ${{ env.SKETCHES_REPORTS_PATH }}
@@ -133,7 +133,7 @@ jobs:
133133
steps:
134134
# This step is needed to get the size data produced by the compile jobs
135135
- name: Download sketches reports artifact
136-
uses: actions/download-artifact@v2
136+
uses: actions/download-artifact@v3
137137
with:
138138
name: ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
139139
path: ${{ env.SKETCHES_REPORTS_PATH }}

0 commit comments

Comments
 (0)