File tree Expand file tree Collapse file tree 8 files changed +23
-21
lines changed Expand file tree Collapse file tree 8 files changed +23
-21
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ jobs:
2121 name : Performance regression check
2222 runs-on : ubuntu-latest
2323 steps :
24- - uses : actions/checkout@v4.1.2
24+ - uses : actions/checkout@v4
2525 - uses : actions/setup-go@v5 # default version of go is 1.10
2626 with :
27- go-version : 1.23.3
27+ go-version-file : go.mod
2828 - name : Install Carvel Tools
2929 run : ./hack/install-deps.sh
3030 # Run benchmark with `go test -bench` and stores the output to a file
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout
13- uses : actions/checkout@v4.1.2
13+ uses : actions/checkout@v4
1414 with :
1515 fetch-depth : 0
1616 - name : Set up Go 1.x
1717 uses : actions/setup-go@v5
1818 with :
19- go-version : 1.23.3
19+ go-version-file : go.mod
2020 - name : Update Dependencies File
2121 run : go run ./hack/dependencies.go update
2222 - name : Create Pull Request
Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ jobs:
1818 name : lint
1919 runs-on : ubuntu-latest
2020 steps :
21+ - uses : actions/checkout@v4
22+ with :
23+ fetch-depth : 0
2124 - name : Set up Go 1.x
2225 uses : actions/setup-go@v5
2326 with :
24- go-version : 1.23.3
25- 26- with :
27- fetch-depth : ' 0'
27+ go-version-file : go.mod
2828 - name : golangci-lint
29293030 with :
Original file line number Diff line number Diff line change 2121 uses : helm/kind-action@v1
2222 with :
2323 cluster_name : kinder
24- - uses : actions/checkout@v4.1.2
24+ - uses : actions/checkout@v4
2525 with :
2626 fetch-depth : 0
2727 - uses : actions/setup-go@v5
Original file line number Diff line number Diff line change 1616 id-token : write
1717 steps :
1818 - name : Check out code
19- uses : actions/checkout@v4.1.2
19+ uses : actions/checkout@v4
2020 with :
2121 fetch-depth : 0
2222
3939 - name : Set up Go 1.x
4040 uses : actions/setup-go@v5
4141 with :
42- go-version : 1.23.3
42+ go-version-file : go.mod
4343
4444 - name : Set up Cosign
4545
Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ jobs:
2121 name : Test kctrl GH
2222 runs-on : ubuntu-latest
2323 steps :
24- - name : Set up Go 1.x
25- uses : actions/setup-go@v5
26- with :
27- go-version : 1.23.3
2824 - name : Check out code
29- uses : actions/checkout@v4.1.2
25+ uses : actions/checkout@v4
3026 with :
3127 fetch-depth : 0
28+ - name : Set up Go 1.x
29+ uses : actions/setup-go@v5
30+ with :
31+ go-version-file : go.mod
3232 - name : Install Carvel Tools
3333 uses : carvel-dev/setup-action@v2
3434 with :
Original file line number Diff line number Diff line change @@ -64,13 +64,13 @@ jobs:
6464 security-events : write
6565 steps :
6666 - name : Checkout
67- uses : actions/checkout@v4.1.2
67+ uses : actions/checkout@v4
6868 with :
6969 fetch-depth : 0
7070 - name : Set up Go 1.x
7171 uses : actions/setup-go@v5
7272 with :
73- go-version : 1.23.3
73+ go-version-file : go.mod
7474 - name : Build the kapp-controller artifacts
7575 run : |
7676 ./hack/install-deps.sh
Original file line number Diff line number Diff line change @@ -23,12 +23,14 @@ jobs:
2323 name : Upgrade Testing
2424 runs-on : ubuntu-latest
2525 steps :
26+ - name : Check out code
27+ uses : actions/checkout@v4
28+ with :
29+ fetch-depth : 0
2630 - name : Set up Go 1.x
2731 uses : actions/setup-go@v5
2832 with :
29- go-version : 1.23.3
30- - name : Check out code
31- 33+ go-version-file : go.mod
3234 - name : Install Carvel Tools
3335 run : ./hack/install-deps.sh
3436 - name : Run Upgrade Test
You can’t perform that action at this time.
0 commit comments