File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 2323 - name : Setup Go
2424 uses : actions/setup-go@v5
2525 with :
26- go-version : " 1.20 "
26+ go-version : " 1.22 "
2727
2828 - uses : actions/cache@v4
2929 with :
Original file line number Diff line number Diff line change 2828 - name : Setup Go
2929 uses : actions/setup-go@v5
3030 with :
31- go-version : " 1.20 "
31+ go-version : " 1.22 "
3232
3333 - uses : actions/cache@v4
3434 with :
Original file line number Diff line number Diff line change 2424 - name : Setup Go
2525 uses : actions/setup-go@v5
2626 with :
27- go-version : " 1.20 "
27+ go-version : " 1.22 "
2828
2929 - uses : actions/cache@v4
3030 with :
@@ -39,14 +39,20 @@ jobs:
3939 run : |
4040 ./gradlew :core:downloadGeoipDatabase
4141
42+ - name : Install update-go-mod-replace
43+ run : |
44+ go install github.com/metacubex/update-go-mod-replace@latest
45+
4246 - name : Update Foss Gomod
4347 run : |
4448 cd ${{ github.workspace }}/core/src/foss/golang/
49+ update-go-mod-replace ${{ github.workspace }}/core/src/foss/golang/clash/go.mod $(pwd)/go.mod
4550 go mod tidy
4651
4752 - name : Update Main Gomod
4853 run : |
49- cd ${{ github.workspace }}/core/src/main/golang/native/
54+ cd ${{ github.workspace }}/core/src/main/golang/
55+ update-go-mod-replace ${{ github.workspace }}/core/src/foss/golang/clash/go.mod $(pwd)/go.mod
5056 go mod tidy
5157
5258 - uses : tibdex/github-app-token@v2
You can’t perform that action at this time.
0 commit comments