2020 E2E_SETUP_KIND : yes
2121 E2E_SETUP_KUBECTL : yes
2222 SUDO : sudo
23- GO_VERSION : " ^1.23 "
24- GOLANGCI_LINT_VERSION : " v1.61.0 "
23+ GO_VERSION : " ^1.24 "
24+ GOLANGCI_LINT_VERSION : " v2.0.2 "
2525
2626jobs :
2727 ci-go-lint :
2828 name : ci-go-lint
2929 runs-on : ubuntu-latest
3030 steps :
3131 - name : Check out code into the Go module directory
32- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3333
3434 - name : Set up Go 1.x
35- uses : actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1 .0
35+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5 .0
3636 with :
3737 go-version : ${{ env.GO_VERSION }}
3838 id : go
3939
40- - name : Setup environment
41- run : |
42- make install-tools
43-
4440 - name : Lint
4541 run : |
4642 curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${{ env.GOLANGCI_LINT_VERSION }}
@@ -51,18 +47,14 @@ jobs:
5147 runs-on : ubuntu-latest
5248 steps :
5349 - name : Check out code into the Go module directory
54- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
50+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5551
5652 - name : Set up Go 1.x
57- uses : actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1 .0
53+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5 .0
5854 with :
5955 go-version : ${{ env.GO_VERSION }}
6056 id : go
6157
62- - name : Setup environment
63- run : |
64- make install-tools
65-
6658 - name : Validate generated manifests
6759 run : |
6860 make validate-manifests
@@ -72,18 +64,14 @@ jobs:
7264 runs-on : ubuntu-latest
7365 steps :
7466 - name : Check out code into the Go module directory
75- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
67+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
7668
7769 - name : Set up Go 1.x
78- uses : actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1 .0
70+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5 .0
7971 with :
8072 go-version : ${{ env.GO_VERSION }}
8173 id : go
8274
83- - name : Setup environment
84- run : |
85- make install-tools
86-
8775 - name : Validate go modules
8876 run : |
8977 make validate-modules
@@ -93,18 +81,14 @@ jobs:
9381 runs-on : ubuntu-latest
9482 steps :
9583 - name : Check out code into the Go module directory
96- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
84+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
9785
9886 - name : Set up Go 1.x
99- uses : actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1 .0
87+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5 .0
10088 with :
10189 go-version : ${{ env.GO_VERSION }}
10290 id : go
10391
104- - name : Setup environment
105- run : |
106- make install-tools
107-
10892 - name : Check that all metrics are documented and templates have no delta
10993 run : |
11094 make doccheck
@@ -114,18 +98,14 @@ jobs:
11498 runs-on : ubuntu-latest
11599 steps :
116100 - name : Check out code into the Go module directory
117- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
101+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
118102
119103 - name : Set up Go 1.x
120- uses : actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1 .0
104+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5 .0
121105 with :
122106 go-version : ${{ env.GO_VERSION }}
123107 id : go
124108
125- - name : Setup environment
126- run : |
127- make install-tools
128-
129109 - name : Unit tests
130110 run : |
131111 make test-unit
@@ -135,7 +115,7 @@ jobs:
135115 runs-on : ubuntu-latest
136116 steps :
137117 - name : Check out code into the Go module directory
138- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
118+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
139119
140120 - name : Setup promtool
141121 run : |
@@ -150,18 +130,14 @@ jobs:
150130 runs-on : ubuntu-latest
151131 steps :
152132 - name : Check out code into the Go module directory
153- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
133+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
154134
155135 - name : Set up Go 1.x
156- uses : actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1 .0
136+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5 .0
157137 with :
158138 go-version : ${{ env.GO_VERSION }}
159139 id : go
160140
161- - name : Setup environment
162- run : |
163- make install-tools
164-
165141 - name : Benchmark tests
166142 run : |
167143 BENCHSTAT_OUTPUT_FILE=result.txt make test-benchmark-compare
@@ -181,18 +157,14 @@ jobs:
181157 runs-on : ubuntu-latest
182158 steps :
183159 - name : Check out code into the Go module directory
184- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
160+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
185161
186162 - name : Set up Go 1.x
187- uses : actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1 .0
163+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5 .0
188164 with :
189165 go-version : ${{ env.GO_VERSION }}
190166 id : go
191167
192- - name : Setup environment
193- run : |
194- make install-tools
195-
196168 - name : Build
197169 run : |
198170 make build
@@ -202,18 +174,14 @@ jobs:
202174 runs-on : ubuntu-latest
203175 steps :
204176 - name : Check out code into the Go module directory
205- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
177+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
206178
207179 - name : Set up Go 1.x
208- uses : actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1 .0
180+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5 .0
209181 with :
210182 go-version : ${{ env.GO_VERSION }}
211183 id : go
212184
213- - name : Setup environment
214- run : |
215- make install-tools
216-
217185 - name : End-to-end tests
218186 run : |
219187 make e2e
0 commit comments