Skip to content

Commit 8329391

Browse files
committed
Merge branch 'master' into HEAD
2 parents 27fe68b + 98fa9f3 commit 8329391

File tree

214 files changed

+1404
-1078
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

214 files changed

+1404
-1078
lines changed

.github/workflows/check-go-dependencies-task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
# Some might find it convenient to have CI generate the cache rather than setting up for it locally
103103
- name: Upload cache to workflow artifact
104104
if: failure() && steps.diff.outcome == 'failure'
105-
uses: actions/upload-artifact@v4
105+
uses: actions/upload-artifact@v5
106106
with:
107107
if-no-files-found: error
108108
include-hidden-files: true

.github/workflows/check-go-task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
version: 3.x
115115

116116
- name: golangci-lint
117-
uses: golangci/golangci-lint-action@v8
117+
uses: golangci/golangci-lint-action@v9
118118
with:
119119
version: v2.1.0
120120

.github/workflows/check-markdown-task.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
uses: actions/checkout@v5
7979

8080
- name: Setup Node.js
81-
uses: actions/setup-node@v5
81+
uses: actions/setup-node@v6
8282
with:
8383
node-version: ${{ env.NODE_VERSION }}
8484

@@ -104,7 +104,7 @@ jobs:
104104
uses: actions/checkout@v5
105105

106106
- name: Setup Node.js
107-
uses: actions/setup-node@v5
107+
uses: actions/setup-node@v6
108108
with:
109109
node-version: ${{ env.NODE_VERSION }}
110110

.github/workflows/publish-go-nightly-task.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
run: echo "version=$(task general:get-version)" >> $GITHUB_OUTPUT
7777

7878
- name: Upload artifacts
79-
uses: actions/upload-artifact@v4
79+
uses: actions/upload-artifact@v5
8080
with:
8181
if-no-files-found: error
8282
name: ${{ env.ARTIFACT_NAME }}-${{ matrix.os.task }}
@@ -105,7 +105,7 @@ jobs:
105105
uses: actions/checkout@v5
106106

107107
- name: Download artifacts
108-
uses: actions/download-artifact@v5
108+
uses: actions/download-artifact@v6
109109
with:
110110
name: ${{ env.ARTIFACT_NAME }}-${{ matrix.artifact.artifact-suffix }}
111111
path: ${{ env.DIST_DIR }}
@@ -185,7 +185,7 @@ jobs:
185185
echo "PACKAGE_FILENAME=$PACKAGE_FILENAME" >> $GITHUB_ENV
186186
187187
- name: Upload notarized artifact
188-
uses: actions/upload-artifact@v4
188+
uses: actions/upload-artifact@v5
189189
with:
190190
if-no-files-found: error
191191
name: ${{ env.ARTIFACT_NAME }}-${{ matrix.artifact.artifact-suffix }}
@@ -210,7 +210,7 @@ jobs:
210210
uses: actions/checkout@v5
211211

212212
- name: Download artifacts
213-
uses: actions/download-artifact@v5
213+
uses: actions/download-artifact@v6
214214
with:
215215
name: ${{ env.ARTIFACT_NAME }}-Windows_64bit
216216
path: ${{ env.DIST_DIR }}
@@ -240,7 +240,7 @@ jobs:
240240
"${{ env.SIGNTOOL_PATH }}" sign -d "Arduino CLI" -f ${{ env.INSTALLER_CERT_WINDOWS_CER}} -csp "eToken Base Cryptographic Provider" -k "[{{${{ env.CERT_PASSWORD }}}}]=${{ env.CONTAINER_NAME }}" -fd sha256 -tr http://timestamp.digicert.com -td SHA256 -v "${{ env.MSI_FILE }}"
241241
242242
- name: Upload artifacts
243-
uses: actions/upload-artifact@v4
243+
uses: actions/upload-artifact@v5
244244
env:
245245
MSI_FILE: ${{ steps.buildmsi.outputs.msi }}
246246
with:
@@ -264,7 +264,7 @@ jobs:
264264
uses: actions/checkout@v5
265265

266266
- name: Download artifact
267-
uses: actions/download-artifact@v5
267+
uses: actions/download-artifact@v6
268268
with:
269269
pattern: ${{ env.ARTIFACT_NAME }}-*
270270
merge-multiple: true

.github/workflows/publish-go-tester-task.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151
152152
# Transfer builds to artifacts job
153153
- name: Upload build artifact
154-
uses: actions/upload-artifact@v4
154+
uses: actions/upload-artifact@v5
155155
with:
156156
path: ${{ env.DIST_DIR }}/${{ matrix.artifact.path }}
157157
name: ${{ matrix.artifact.name }}
@@ -164,7 +164,7 @@ jobs:
164164

165165
steps:
166166
- name: Download build artifacts
167-
uses: actions/download-artifact@v5
167+
uses: actions/download-artifact@v6
168168
- name: Output checksum
169169
run: |
170170
TAG="${{ needs.package-name-prefix.outputs.prefix }}git-snapshot"
@@ -178,7 +178,7 @@ jobs:
178178
done
179179
180180
- name: Upload checksum artifact
181-
uses: actions/upload-artifact@v4
181+
uses: actions/upload-artifact@v5
182182
with:
183183
path: ./*checksums.txt
184184
name: checksums

.github/workflows/release-go-task.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
run: echo "version=$(task general:get-version)" >> $GITHUB_OUTPUT
7575

7676
- name: Upload artifacts
77-
uses: actions/upload-artifact@v4
77+
uses: actions/upload-artifact@v5
7878
with:
7979
if-no-files-found: error
8080
name: ${{ env.ARTIFACT_NAME }}-${{ matrix.env.os }}
@@ -103,7 +103,7 @@ jobs:
103103
uses: actions/checkout@v5
104104

105105
- name: Download artifacts
106-
uses: actions/download-artifact@v5
106+
uses: actions/download-artifact@v6
107107
with:
108108
name: ${{ env.ARTIFACT_NAME }}-${{ matrix.artifact.artifact-suffix }}
109109
path: ${{ env.DIST_DIR }}
@@ -183,7 +183,7 @@ jobs:
183183
echo "PACKAGE_FILENAME=$PACKAGE_FILENAME" >> $GITHUB_ENV
184184
185185
- name: Upload notarized artifact
186-
uses: actions/upload-artifact@v4
186+
uses: actions/upload-artifact@v5
187187
with:
188188
if-no-files-found: error
189189
name: ${{ env.ARTIFACT_NAME }}-${{ matrix.artifact.artifact-suffix }}
@@ -208,7 +208,7 @@ jobs:
208208
uses: actions/checkout@v5
209209

210210
- name: Download artifacts
211-
uses: actions/download-artifact@v5
211+
uses: actions/download-artifact@v6
212212
with:
213213
name: ${{ env.ARTIFACT_NAME }}-Windows_64bit
214214
path: ${{ env.DIST_DIR }}
@@ -238,7 +238,7 @@ jobs:
238238
"${{ env.SIGNTOOL_PATH }}" sign -d "Arduino CLI" -f ${{ env.INSTALLER_CERT_WINDOWS_CER}} -csp "eToken Base Cryptographic Provider" -k "[{{${{ env.CERT_PASSWORD }}}}]=${{ env.CONTAINER_NAME }}" -fd sha256 -tr http://timestamp.digicert.com -td SHA256 -v "${{ env.MSI_FILE }}"
239239
240240
- name: Upload artifacts
241-
uses: actions/upload-artifact@v4
241+
uses: actions/upload-artifact@v5
242242
env:
243243
MSI_FILE: ${{ steps.buildmsi.outputs.msi }}
244244
with:
@@ -262,7 +262,7 @@ jobs:
262262
uses: actions/checkout@v5
263263

264264
- name: Download artifact
265-
uses: actions/download-artifact@v5
265+
uses: actions/download-artifact@v6
266266
with:
267267
pattern: ${{ env.ARTIFACT_NAME }}-*
268268
merge-multiple: true

.github/workflows/sync-labels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/${{ matrix.filename }}
7272

7373
- name: Pass configuration files to next job via workflow artifact
74-
uses: actions/upload-artifact@v4
74+
uses: actions/upload-artifact@v5
7575
with:
7676
path: |
7777
*.yaml
@@ -109,7 +109,7 @@ jobs:
109109
uses: actions/checkout@v5
110110

111111
- name: Download configuration files artifact
112-
uses: actions/download-artifact@v5
112+
uses: actions/download-artifact@v6
113113
with:
114114
pattern: ${{ env.CONFIGURATIONS_ARTIFACT }}-*
115115
merge-multiple: true

.github/workflows/test-go-task.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
mv coverage_integration.txt coverage_integration_${{ matrix.operating-system }}_${{ matrix.tests }}.txt
115115
116116
- name: Upload coverage data to workflow artifact
117-
uses: actions/upload-artifact@v4
117+
uses: actions/upload-artifact@v5
118118
with:
119119
if-no-files-found: error
120120
name: ${{ env.COVERAGE_ARTIFACT }}-test-integration-${{ matrix.operating-system }}-${{ matrix.tests }}
@@ -157,7 +157,7 @@ jobs:
157157

158158
- name: Upload coverage data to workflow artifact
159159
if: runner.os == 'Linux'
160-
uses: actions/upload-artifact@v4
160+
uses: actions/upload-artifact@v5
161161
with:
162162
if-no-files-found: error
163163
name: ${{ env.COVERAGE_ARTIFACT }}-test-${{ matrix.operating-system }}
@@ -182,7 +182,7 @@ jobs:
182182
run: go install github.com/wadey/gocovmerge@b5bfa59
183183

184184
- name: Download coverage data artifact
185-
uses: actions/download-artifact@v5
185+
uses: actions/download-artifact@v6
186186
with:
187187
pattern: ${{ env.COVERAGE_ARTIFACT }}-*
188188
merge-multiple: true
@@ -204,6 +204,13 @@ jobs:
204204
fi
205205
echo "CODECOV_TOKEN=$CODECOV_TOKEN" >> "$GITHUB_ENV"
206206
207+
# There is a bug in the codecov uploader that makes it fail when there are broken symlinks in the repository.
208+
# We must keep this workaround until the bug is fixed: https://github.com/codecov/codecov-action/issues/1890
209+
- name: Workaround for codecov uploader bug
210+
run: |
211+
rm internal/integrationtest/compile_4/testdata/ValidSketchWithNonInoBrokenSketchFileSymlink/other_file.c
212+
touch internal/integrationtest/compile_4/testdata/ValidSketchWithNonInoBrokenSketchFileSymlink/other_file.c
213+
207214
- name: Send unit tests coverage to Codecov
208215
uses: codecov/codecov-action@v5
209216
with:

0 commit comments

Comments
 (0)