File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed
Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 88 branches :
99 - " main"
1010 - " !releases/**"
11- env :
12- GOVER : 1.23.9
1311
1412jobs :
1513 unittest :
1917
2018 - uses : actions/setup-go@v5
2119 with :
22- go-version : ${{ env.GOVER }}
20+ go-version-file : ' go.mod '
2321 - run : go test -cover -coverprofile=coverage.txt ./...
2422 env :
2523 CGO_ENABLED : 0
3836 - name : Checkout
3937 uses : actions/checkout@v4
4038 with :
41- fetch-depth : 0
42-
39+ fetch-depth : 0
40+ - uses : actions/setup-go@v5
41+ with :
42+ go-version-file : ' go.mod'
4343 - name : Login to private k8s Container Registry
4444 uses : docker/login-action@v3
4545 with :
Original file line number Diff line number Diff line change 3030 uses : actions/checkout@v4
3131 with :
3232 fetch-depth : 0
33-
33+ - uses : actions/setup-go@v5
34+ with :
35+ go-version-file : ' go.mod'
3436 # Make sure the @v0.8.0 matches the current version of the action
3537 -
uses :
webfactory/[email protected] 3638 with :
Original file line number Diff line number Diff line change 2424 pull_request :
2525 workflow_dispatch :
2626
27- env :
28- GOVER : 1.23.9
29-
3027jobs :
3128 build-and-release :
3229 runs-on : sdcio-action-runners
4845
4946 - uses : actions/setup-go@v5
5047 with :
51- go-version : ${{ env.GOVER }}
48+ go-version-file : ' go.mod '
5249
5350 - name : Login to GitHub Container Registry
5451 uses : docker/login-action@v3
You can’t perform that action at this time.
0 commit comments