@@ -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
0 commit comments