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:
21
21
name : Performance regression check
22
22
runs-on : ubuntu-latest
23
23
steps :
24
- - uses : actions/checkout@v4.1.2
24
+ - uses : actions/checkout@v4
25
25
- uses : actions/setup-go@v5 # default version of go is 1.10
26
26
with :
27
- go-version : 1.23.3
27
+ go-version-file : go.mod
28
28
- name : Install Carvel Tools
29
29
run : ./hack/install-deps.sh
30
30
# 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:
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : Checkout
13
- uses : actions/checkout@v4.1.2
13
+ uses : actions/checkout@v4
14
14
with :
15
15
fetch-depth : 0
16
16
- name : Set up Go 1.x
17
17
uses : actions/setup-go@v5
18
18
with :
19
- go-version : 1.23.3
19
+ go-version-file : go.mod
20
20
- name : Update Dependencies File
21
21
run : go run ./hack/dependencies.go update
22
22
- name : Create Pull Request
Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ jobs:
18
18
name : lint
19
19
runs-on : ubuntu-latest
20
20
steps :
21
+ - uses : actions/checkout@v4
22
+ with :
23
+ fetch-depth : 0
21
24
- name : Set up Go 1.x
22
25
uses : actions/setup-go@v5
23
26
with :
24
- go-version : 1.23.3
25
-
26
- with :
27
- fetch-depth : ' 0'
27
+ go-version-file : go.mod
28
28
- name : golangci-lint
29
29
30
30
with :
Original file line number Diff line number Diff line change 21
21
uses : helm/kind-action@v1
22
22
with :
23
23
cluster_name : kinder
24
- - uses : actions/checkout@v4.1.2
24
+ - uses : actions/checkout@v4
25
25
with :
26
26
fetch-depth : 0
27
27
- uses : actions/setup-go@v5
Original file line number Diff line number Diff line change 16
16
id-token : write
17
17
steps :
18
18
- name : Check out code
19
- uses : actions/checkout@v4.1.2
19
+ uses : actions/checkout@v4
20
20
with :
21
21
fetch-depth : 0
22
22
39
39
- name : Set up Go 1.x
40
40
uses : actions/setup-go@v5
41
41
with :
42
- go-version : 1.23.3
42
+ go-version-file : go.mod
43
43
44
44
- name : Set up Cosign
45
45
Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ jobs:
21
21
name : Test kctrl GH
22
22
runs-on : ubuntu-latest
23
23
steps :
24
- - name : Set up Go 1.x
25
- uses : actions/setup-go@v5
26
- with :
27
- go-version : 1.23.3
28
24
- name : Check out code
29
- uses : actions/checkout@v4.1.2
25
+ uses : actions/checkout@v4
30
26
with :
31
27
fetch-depth : 0
28
+ - name : Set up Go 1.x
29
+ uses : actions/setup-go@v5
30
+ with :
31
+ go-version-file : go.mod
32
32
- name : Install Carvel Tools
33
33
uses : carvel-dev/setup-action@v2
34
34
with :
Original file line number Diff line number Diff line change @@ -64,13 +64,13 @@ jobs:
64
64
security-events : write
65
65
steps :
66
66
- name : Checkout
67
- uses : actions/checkout@v4.1.2
67
+ uses : actions/checkout@v4
68
68
with :
69
69
fetch-depth : 0
70
70
- name : Set up Go 1.x
71
71
uses : actions/setup-go@v5
72
72
with :
73
- go-version : 1.23.3
73
+ go-version-file : go.mod
74
74
- name : Build the kapp-controller artifacts
75
75
run : |
76
76
./hack/install-deps.sh
Original file line number Diff line number Diff line change @@ -23,12 +23,14 @@ jobs:
23
23
name : Upgrade Testing
24
24
runs-on : ubuntu-latest
25
25
steps :
26
+ - name : Check out code
27
+ uses : actions/checkout@v4
28
+ with :
29
+ fetch-depth : 0
26
30
- name : Set up Go 1.x
27
31
uses : actions/setup-go@v5
28
32
with :
29
- go-version : 1.23.3
30
- - name : Check out code
31
-
33
+ go-version-file : go.mod
32
34
- name : Install Carvel Tools
33
35
run : ./hack/install-deps.sh
34
36
- name : Run Upgrade Test
You can’t perform that action at this time.
0 commit comments