Skip to content

Commit 8f5f7ff

Browse files
[dependencies] Update github-actions
1 parent 84ceb90 commit 8f5f7ff

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
with:
4545
fetch-depth: 0
4646
- name: Setup Go
47-
uses: actions/setup-go@v5
47+
uses: actions/setup-go@v6
4848
with:
4949
go-version: ^1.25.3
5050
- name: Check input version
@@ -104,12 +104,12 @@ jobs:
104104
fetch-depth: 0
105105
- name: Setup Go
106106
if: ${{ ! (matrix.legacy_go123 || matrix.legacy_go124) }}
107-
uses: actions/setup-go@v5
107+
uses: actions/setup-go@v6
108108
with:
109109
go-version: ^1.25.3
110110
- name: Setup Go 1.24
111111
if: matrix.legacy_go124
112-
uses: actions/setup-go@v5
112+
uses: actions/setup-go@v6
113113
with:
114114
go-version: ~1.24.6
115115
- name: Cache Go for Windows 7
@@ -277,7 +277,7 @@ jobs:
277277
- name: Cleanup
278278
run: rm dist/sing-box
279279
- name: Upload artifact
280-
uses: actions/upload-artifact@v4
280+
uses: actions/upload-artifact@v5
281281
with:
282282
name: binary-${{ matrix.os }}_${{ matrix.arch }}${{ matrix.goarm && format('v{0}', matrix.goarm) }}${{ matrix.go386 && format('_{0}', matrix.go386) }}${{ matrix.gomips && format('_{0}', matrix.gomips) }}${{ matrix.legacy_name && format('-legacy-{0}', matrix.legacy_name) }}
283283
path: "dist"
@@ -300,12 +300,12 @@ jobs:
300300
fetch-depth: 0
301301
- name: Setup Go
302302
if: ${{ ! matrix.legacy_go124 }}
303-
uses: actions/setup-go@v5
303+
uses: actions/setup-go@v6
304304
with:
305305
go-version: ^1.25.3
306306
- name: Setup Go 1.24
307307
if: matrix.legacy_go124
308-
uses: actions/setup-go@v5
308+
uses: actions/setup-go@v6
309309
with:
310310
go-version: ~1.24.6
311311
- name: Set tag
@@ -348,7 +348,7 @@ jobs:
348348
- name: Cleanup
349349
run: rm dist/sing-box
350350
- name: Upload artifact
351-
uses: actions/upload-artifact@v4
351+
uses: actions/upload-artifact@v5
352352
with:
353353
name: binary-darwin_${{ matrix.arch }}${{ matrix.legacy_name && format('-legacy-{0}', matrix.legacy_name) }}
354354
path: "dist"
@@ -365,7 +365,7 @@ jobs:
365365
fetch-depth: 0
366366
submodules: 'recursive'
367367
- name: Setup Go
368-
uses: actions/setup-go@v5
368+
uses: actions/setup-go@v6
369369
with:
370370
go-version: ^1.25.3
371371
- name: Setup Android NDK
@@ -428,7 +428,7 @@ jobs:
428428
cp clients/android/app/build/outputs/apk/play/release/*.apk dist
429429
cp clients/android/app/build/outputs/apk/other/release/*-universal.apk dist
430430
- name: Upload artifact
431-
uses: actions/upload-artifact@v4
431+
uses: actions/upload-artifact@v5
432432
with:
433433
name: binary-android-apks
434434
path: 'dist'
@@ -445,7 +445,7 @@ jobs:
445445
fetch-depth: 0
446446
submodules: 'recursive'
447447
- name: Setup Go
448-
uses: actions/setup-go@v5
448+
uses: actions/setup-go@v6
449449
with:
450450
go-version: ^1.25.3
451451
- name: Setup Android NDK
@@ -544,7 +544,7 @@ jobs:
544544
submodules: 'recursive'
545545
- name: Setup Go
546546
if: matrix.if
547-
uses: actions/setup-go@v5
547+
uses: actions/setup-go@v6
548548
with:
549549
go-version: ^1.25.3
550550
- name: Set tag
@@ -675,7 +675,7 @@ jobs:
675675
cp "clients/apple/${{ matrix.archive }}/SFM.dSYMs.zip" "dist/SFM-${VERSION}-universal.dSYMs.zip"
676676
- name: Upload image
677677
if: matrix.if && matrix.name == 'macOS-standalone' && github.event_name == 'workflow_dispatch'
678-
uses: actions/upload-artifact@v4
678+
uses: actions/upload-artifact@v5
679679
with:
680680
name: binary-macos-dmg
681681
path: 'dist'
@@ -714,7 +714,7 @@ jobs:
714714
git tag v${{ needs.calculate_version.outputs.version }} -f
715715
echo "VERSION=${{ needs.calculate_version.outputs.version }}" >> "$GITHUB_ENV"
716716
- name: Download builds
717-
uses: actions/download-artifact@v5
717+
uses: actions/download-artifact@v6
718718
with:
719719
path: dist
720720
merge-multiple: true

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
digest="${{ steps.build.outputs.digest }}"
7979
touch "/tmp/digests/${digest#sha256:}"
8080
- name: Upload digest
81-
uses: actions/upload-artifact@v4
81+
uses: actions/upload-artifact@v5
8282
with:
8383
name: digests-${{ env.PLATFORM_PAIR }}
8484
path: /tmp/digests/*
@@ -107,7 +107,7 @@ jobs:
107107
echo "latest=$latest"
108108
echo "latest=$latest" >> $GITHUB_OUTPUT
109109
- name: Download digests
110-
uses: actions/download-artifact@v5
110+
uses: actions/download-artifact@v6
111111
with:
112112
path: /tmp/digests
113113
pattern: digests-*

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
fetch-depth: 0
2828
- name: Setup Go
29-
uses: actions/setup-go@v5
29+
uses: actions/setup-go@v6
3030
with:
3131
go-version: ^1.25
3232
- name: golangci-lint

.github/workflows/linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
fetch-depth: 0
3030
- name: Setup Go
31-
uses: actions/setup-go@v5
31+
uses: actions/setup-go@v6
3232
with:
3333
go-version: ^1.25.3
3434
- name: Check input version
@@ -69,7 +69,7 @@ jobs:
6969
with:
7070
fetch-depth: 0
7171
- name: Setup Go
72-
uses: actions/setup-go@v5
72+
uses: actions/setup-go@v6
7373
with:
7474
go-version: ^1.25.3
7575
- name: Setup Android NDK
@@ -159,7 +159,7 @@ jobs:
159159
- name: Cleanup
160160
run: rm dist/sing-box
161161
- name: Upload artifact
162-
uses: actions/upload-artifact@v4
162+
uses: actions/upload-artifact@v5
163163
with:
164164
name: binary-${{ matrix.os }}_${{ matrix.arch }}${{ matrix.goarm && format('v{0}', matrix.goarm) }}${{ matrix.legacy_go && '-legacy' || '' }}
165165
path: "dist"
@@ -180,7 +180,7 @@ jobs:
180180
git tag v${{ needs.calculate_version.outputs.version }} -f
181181
echo "VERSION=${{ needs.calculate_version.outputs.version }}" >> "$GITHUB_ENV"
182182
- name: Download builds
183-
uses: actions/download-artifact@v5
183+
uses: actions/download-artifact@v6
184184
with:
185185
path: dist
186186
merge-multiple: true

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
stale:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/stale@v9
11+
- uses: actions/stale@v10
1212
with:
1313
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days'
1414
days-before-stale: 60

0 commit comments

Comments
 (0)