Skip to content

Commit aba8241

Browse files
[dependencies] Update github-actions
1 parent 9583e25 commit aba8241

File tree

5 files changed

+48
-48
lines changed

5 files changed

+48
-48
lines changed

.github/workflows/build.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040
version: ${{ steps.outputs.outputs.version }}
4141
steps:
4242
- name: Checkout
43-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
43+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
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.5
5050
- name: Check input version
@@ -108,23 +108,23 @@ jobs:
108108
- { os: android, arch: "386", ndk: "i686-linux-android23" }
109109
steps:
110110
- name: Checkout
111-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
111+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
112112
with:
113113
fetch-depth: 0
114114
- name: Setup Go
115115
if: ${{ ! (matrix.legacy_win7 || matrix.legacy_go124) }}
116-
uses: actions/setup-go@v5
116+
uses: actions/setup-go@v6
117117
with:
118118
go-version: ^1.25.5
119119
- name: Setup Go 1.24
120120
if: matrix.legacy_go124
121-
uses: actions/setup-go@v5
121+
uses: actions/setup-go@v6
122122
with:
123123
go-version: ~1.24.10
124124
- name: Cache Go for Windows 7
125125
if: matrix.legacy_win7
126126
id: cache-go-for-windows7
127-
uses: actions/cache@v4
127+
uses: actions/cache@v5
128128
with:
129129
path: |
130130
~/go/go_win7
@@ -157,7 +157,7 @@ jobs:
157157
- name: Cache Chromium toolchain
158158
if: matrix.naive
159159
id: cache-chromium-toolchain
160-
uses: actions/cache@v4
160+
uses: actions/cache@v5
161161
with:
162162
path: |
163163
~/cronet-go/naiveproxy/src/third_party/llvm-build/Release+Asserts
@@ -393,7 +393,7 @@ jobs:
393393
- name: Cleanup
394394
run: rm -f dist/sing-box dist/libcronet.so
395395
- name: Upload artifact
396-
uses: actions/upload-artifact@v4
396+
uses: actions/upload-artifact@v6
397397
with:
398398
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) }}${{ matrix.variant && format('-{0}', matrix.variant) }}
399399
path: "dist"
@@ -411,17 +411,17 @@ jobs:
411411
- { arch: amd64, legacy_go124: true, legacy_name: "macos-11" }
412412
steps:
413413
- name: Checkout
414-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
414+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
415415
with:
416416
fetch-depth: 0
417417
- name: Setup Go
418418
if: ${{ ! matrix.legacy_go124 }}
419-
uses: actions/setup-go@v5
419+
uses: actions/setup-go@v6
420420
with:
421421
go-version: ^1.25.3
422422
- name: Setup Go 1.24
423423
if: matrix.legacy_go124
424-
uses: actions/setup-go@v5
424+
uses: actions/setup-go@v6
425425
with:
426426
go-version: ~1.24.6
427427
- name: Set tag
@@ -467,7 +467,7 @@ jobs:
467467
- name: Cleanup
468468
run: rm dist/sing-box
469469
- name: Upload artifact
470-
uses: actions/upload-artifact@v4
470+
uses: actions/upload-artifact@v6
471471
with:
472472
name: binary-darwin_${{ matrix.arch }}${{ matrix.legacy_name && format('-legacy-{0}', matrix.legacy_name) }}
473473
path: "dist"
@@ -485,11 +485,11 @@ jobs:
485485
- { arch: arm64, naive: true }
486486
steps:
487487
- name: Checkout
488-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
488+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
489489
with:
490490
fetch-depth: 0
491491
- name: Setup Go
492-
uses: actions/setup-go@v5
492+
uses: actions/setup-go@v6
493493
with:
494494
go-version: ^1.25.4
495495
- name: Set tag
@@ -552,7 +552,7 @@ jobs:
552552
if: ${{ !matrix.naive }}
553553
run: Remove-Item dist/sing-box.exe
554554
- name: Upload artifact
555-
uses: actions/upload-artifact@v4
555+
uses: actions/upload-artifact@v6
556556
with:
557557
name: binary-windows_${{ matrix.arch }}
558558
path: "dist"
@@ -564,12 +564,12 @@ jobs:
564564
- calculate_version
565565
steps:
566566
- name: Checkout
567-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
567+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
568568
with:
569569
fetch-depth: 0
570570
submodules: 'recursive'
571571
- name: Setup Go
572-
uses: actions/setup-go@v5
572+
uses: actions/setup-go@v6
573573
with:
574574
go-version: ^1.25.5
575575
- name: Setup Android NDK
@@ -604,7 +604,7 @@ jobs:
604604
cd clients/android
605605
git checkout dev
606606
- name: Gradle cache
607-
uses: actions/cache@v4
607+
uses: actions/cache@v5
608608
with:
609609
path: ~/.gradle
610610
key: gradle-${{ hashFiles('**/*.gradle') }}
@@ -642,7 +642,7 @@ jobs:
642642
EOF
643643
cat dist/SFA-version-metadata.json
644644
- name: Upload artifact
645-
uses: actions/upload-artifact@v4
645+
uses: actions/upload-artifact@v6
646646
with:
647647
name: binary-android-apks
648648
path: 'dist'
@@ -654,12 +654,12 @@ jobs:
654654
- calculate_version
655655
steps:
656656
- name: Checkout
657-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
657+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
658658
with:
659659
fetch-depth: 0
660660
submodules: 'recursive'
661661
- name: Setup Go
662-
uses: actions/setup-go@v5
662+
uses: actions/setup-go@v6
663663
with:
664664
go-version: ^1.25.5
665665
- name: Setup Android NDK
@@ -694,7 +694,7 @@ jobs:
694694
cd clients/android
695695
git checkout dev
696696
- name: Gradle cache
697-
uses: actions/cache@v4
697+
uses: actions/cache@v5
698698
with:
699699
path: ~/.gradle
700700
key: gradle-${{ hashFiles('**/*.gradle') }}
@@ -752,13 +752,13 @@ jobs:
752752
steps:
753753
- name: Checkout
754754
if: matrix.if
755-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
755+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
756756
with:
757757
fetch-depth: 0
758758
submodules: 'recursive'
759759
- name: Setup Go
760760
if: matrix.if
761-
uses: actions/setup-go@v5
761+
uses: actions/setup-go@v6
762762
with:
763763
go-version: ^1.25.5
764764
- name: Set tag
@@ -889,7 +889,7 @@ jobs:
889889
cp "clients/apple/${{ matrix.archive }}/SFM.dSYMs.zip" "dist/SFM-${VERSION}-universal.dSYMs.zip"
890890
- name: Upload image
891891
if: matrix.if && matrix.name == 'macOS-standalone' && github.event_name == 'workflow_dispatch'
892-
uses: actions/upload-artifact@v4
892+
uses: actions/upload-artifact@v6
893893
with:
894894
name: binary-macos-dmg
895895
path: 'dist'
@@ -906,11 +906,11 @@ jobs:
906906
- build_apple
907907
steps:
908908
- name: Checkout
909-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
909+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
910910
with:
911911
fetch-depth: 0
912912
- name: Cache ghr
913-
uses: actions/cache@v4
913+
uses: actions/cache@v5
914914
id: cache-ghr
915915
with:
916916
path: |
@@ -929,7 +929,7 @@ jobs:
929929
git tag v${{ needs.calculate_version.outputs.version }} -f
930930
echo "VERSION=${{ needs.calculate_version.outputs.version }}" >> "$GITHUB_ENV"
931931
- name: Download builds
932-
uses: actions/download-artifact@v5
932+
uses: actions/download-artifact@v7
933933
with:
934934
path: dist
935935
merge-multiple: true

.github/workflows/docker.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ jobs:
4646
echo "ref=$ref"
4747
echo "ref=$ref" >> $GITHUB_OUTPUT
4848
- name: Checkout
49-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
49+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
5050
with:
5151
ref: ${{ steps.ref.outputs.ref }}
5252
fetch-depth: 0
5353
- name: Setup Go
54-
uses: actions/setup-go@v5
54+
uses: actions/setup-go@v6
5555
with:
5656
go-version: ^1.25.4
5757
- name: Clone cronet-go
@@ -67,7 +67,7 @@ jobs:
6767
- name: Cache Chromium toolchain
6868
if: matrix.naive
6969
id: cache-chromium-toolchain
70-
uses: actions/cache@v4
70+
uses: actions/cache@v5
7171
with:
7272
path: |
7373
~/cronet-go/naiveproxy/src/third_party/llvm-build/Release+Asserts
@@ -134,7 +134,7 @@ jobs:
134134
mv sing-box "${BINARY_NAME}"
135135
echo "BINARY_NAME=${BINARY_NAME}" >> $GITHUB_ENV
136136
- name: Upload binary
137-
uses: actions/upload-artifact@v4
137+
uses: actions/upload-artifact@v6
138138
with:
139139
name: binary-${{ env.PLATFORM_PAIR }}
140140
path: ${{ env.BINARY_NAME }}
@@ -169,7 +169,7 @@ jobs:
169169
echo "ref=$ref"
170170
echo "ref=$ref" >> $GITHUB_OUTPUT
171171
- name: Checkout
172-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
172+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
173173
with:
174174
ref: ${{ steps.ref.outputs.ref }}
175175
fetch-depth: 0
@@ -178,7 +178,7 @@ jobs:
178178
platform=${{ matrix.platform }}
179179
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
180180
- name: Download binary
181-
uses: actions/download-artifact@v5
181+
uses: actions/download-artifact@v7
182182
with:
183183
name: binary-${{ env.PLATFORM_PAIR }}
184184
path: .
@@ -217,7 +217,7 @@ jobs:
217217
digest="${{ steps.build.outputs.digest }}"
218218
touch "/tmp/digests/${digest#sha256:}"
219219
- name: Upload digest
220-
uses: actions/upload-artifact@v4
220+
uses: actions/upload-artifact@v6
221221
with:
222222
name: digests-${{ env.PLATFORM_PAIR }}
223223
path: /tmp/digests/*
@@ -246,7 +246,7 @@ jobs:
246246
echo "latest=$latest"
247247
echo "latest=$latest" >> $GITHUB_OUTPUT
248248
- name: Download digests
249-
uses: actions/download-artifact@v5
249+
uses: actions/download-artifact@v7
250250
with:
251251
path: /tmp/digests
252252
pattern: digests-*

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
25+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
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
33-
uses: golangci/golangci-lint-action@v8
33+
uses: golangci/golangci-lint-action@v9
3434
with:
3535
version: latest
3636
args: --timeout=30m

.github/workflows/linux.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
version: ${{ steps.outputs.outputs.version }}
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
31+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
3232
with:
3333
fetch-depth: 0
3434
- name: Setup Go
35-
uses: actions/setup-go@v5
35+
uses: actions/setup-go@v6
3636
with:
3737
go-version: ^1.25.5
3838
- name: Check input version
@@ -71,11 +71,11 @@ jobs:
7171
- { os: linux, arch: loong64, debian: loongarch64, rpm: loongarch64 }
7272
steps:
7373
- name: Checkout
74-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
74+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
7575
with:
7676
fetch-depth: 0
7777
- name: Setup Go
78-
uses: actions/setup-go@v5
78+
uses: actions/setup-go@v6
7979
with:
8080
go-version: ^1.25.5
8181
- name: Clone cronet-go
@@ -91,7 +91,7 @@ jobs:
9191
- name: Cache Chromium toolchain
9292
if: matrix.naive
9393
id: cache-chromium-toolchain
94-
uses: actions/cache@v4
94+
uses: actions/cache@v5
9595
with:
9696
path: |
9797
~/cronet-go/naiveproxy/src/third_party/llvm-build/Release+Asserts
@@ -208,7 +208,7 @@ jobs:
208208
- name: Cleanup
209209
run: rm dist/sing-box
210210
- name: Upload artifact
211-
uses: actions/upload-artifact@v4
211+
uses: actions/upload-artifact@v6
212212
with:
213213
name: binary-${{ matrix.os }}_${{ matrix.arch }}${{ matrix.goarm && format('v{0}', matrix.goarm) }}${{ matrix.legacy_go && '-legacy' || '' }}
214214
path: "dist"
@@ -220,7 +220,7 @@ jobs:
220220
- build
221221
steps:
222222
- name: Checkout
223-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
223+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
224224
with:
225225
fetch-depth: 0
226226
- name: Set tag
@@ -229,7 +229,7 @@ jobs:
229229
git tag v${{ needs.calculate_version.outputs.version }} -f
230230
echo "VERSION=${{ needs.calculate_version.outputs.version }}" >> "$GITHUB_ENV"
231231
- name: Download builds
232-
uses: actions/download-artifact@v5
232+
uses: actions/download-artifact@v7
233233
with:
234234
path: dist
235235
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)