Skip to content

Commit 74043be

Browse files
committed
bump github workflow actions
1 parent 3cdd2c4 commit 74043be

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

.github/workflows/ci.yml

+27-27
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
steps:
2828
- name: Detect No-op Changes
2929
id: noop
30-
uses: fkirc/[email protected].0
30+
uses: fkirc/[email protected].1
3131
with:
3232
github_token: ${{ secrets.GITHUB_TOKEN }}
3333
paths_ignore: '["**.md", "**.png", "**.jpg"]'
@@ -41,12 +41,12 @@ jobs:
4141

4242
steps:
4343
- name: Checkout
44-
uses: actions/checkout@v2
44+
uses: actions/checkout@v4
4545
with:
4646
submodules: true
4747

4848
- name: Setup Go
49-
uses: actions/setup-go@v2
49+
uses: actions/setup-go@v5
5050
with:
5151
go-version: ${{ env.GO_VERSION }}
5252

@@ -55,14 +55,14 @@ jobs:
5555
run: echo "cache=$(make go.cachedir)" >> $GITHUB_OUTPUT
5656

5757
- name: Cache the Go Build Cache
58-
uses: actions/cache@v3
58+
uses: actions/cache@v4
5959
with:
6060
path: ${{ steps.go.outputs.cache }}
6161
key: ${{ runner.os }}-build-lint-${{ hashFiles('**/go.sum') }}
6262
restore-keys: ${{ runner.os }}-build-lint-
6363

6464
- name: Cache Go Dependencies
65-
uses: actions/cache@v3
65+
uses: actions/cache@v4
6666
with:
6767
path: .work/pkg
6868
key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }}
@@ -74,7 +74,7 @@ jobs:
7474
# We could run 'make lint' but we prefer this action because it leaves
7575
# 'annotations' (i.e. it comments on PRs to point out linter violations).
7676
- name: Lint
77-
uses: golangci/golangci-lint-action@v3
77+
uses: golangci/golangci-lint-action@v6
7878
with:
7979
version: ${{ env.GOLANGCI_VERSION }}
8080

@@ -85,12 +85,12 @@ jobs:
8585

8686
steps:
8787
- name: Checkout
88-
uses: actions/checkout@v2
88+
uses: actions/checkout@v4
8989
with:
9090
submodules: true
9191

9292
- name: Setup Go
93-
uses: actions/setup-go@v2
93+
uses: actions/setup-go@v5
9494
with:
9595
go-version: ${{ env.GO_VERSION }}
9696

@@ -102,14 +102,14 @@ jobs:
102102
run: echo "cache=$(make go.cachedir)" >> $GITHUB_OUTPUT
103103

104104
- name: Cache the Go Build Cache
105-
uses: actions/cache@v3
105+
uses: actions/cache@v4
106106
with:
107107
path: ${{ steps.go.outputs.cache }}
108108
key: ${{ runner.os }}-build-check-diff-${{ hashFiles('**/go.sum') }}
109109
restore-keys: ${{ runner.os }}-build-check-diff-
110110

111111
- name: Cache Go Dependencies
112-
uses: actions/cache@v3
112+
uses: actions/cache@v4
113113
with:
114114
path: .work/pkg
115115
key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }}
@@ -128,15 +128,15 @@ jobs:
128128

129129
steps:
130130
- name: Checkout
131-
uses: actions/checkout@v2
131+
uses: actions/checkout@v4
132132
with:
133133
submodules: true
134134

135135
- name: Fetch History
136136
run: git fetch --prune --unshallow
137137

138138
- name: Setup Go
139-
uses: actions/setup-go@v2
139+
uses: actions/setup-go@v5
140140
with:
141141
go-version: ${{ env.GO_VERSION }}
142142

@@ -145,14 +145,14 @@ jobs:
145145
run: echo "cache=$(make go.cachedir)" >> $GITHUB_OUTPUT
146146

147147
- name: Cache the Go Build Cache
148-
uses: actions/cache@v3
148+
uses: actions/cache@v4
149149
with:
150150
path: ${{ steps.go.outputs.cache }}
151151
key: ${{ runner.os }}-build-unit-tests-${{ hashFiles('**/go.sum') }}
152152
restore-keys: ${{ runner.os }}-build-unit-tests-
153153

154154
- name: Cache Go Dependencies
155-
uses: actions/cache@v3
155+
uses: actions/cache@v4
156156
with:
157157
path: .work/pkg
158158
key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }}
@@ -165,7 +165,7 @@ jobs:
165165
run: make -j2 test
166166

167167
- name: Publish Unit Test Coverage
168-
uses: codecov/codecov-action@v1
168+
uses: codecov/codecov-action@v4
169169
with:
170170
flags: unittests
171171
file: _output/tests/linux_amd64/coverage.txt
@@ -177,15 +177,15 @@ jobs:
177177

178178
steps:
179179
- name: Checkout
180-
uses: actions/checkout@v2
180+
uses: actions/checkout@v4
181181
with:
182182
submodules: true
183183

184184
- name: Fetch History
185185
run: git fetch --prune --unshallow
186186

187187
- name: Setup Go
188-
uses: actions/setup-go@v2
188+
uses: actions/setup-go@v5
189189
with:
190190
go-version: ${{ env.GO_VERSION }}
191191

@@ -194,14 +194,14 @@ jobs:
194194
run: echo "cache=$(make go.cachedir)" >> $GITHUB_OUTPUT
195195

196196
- name: Cache the Go Build Cache
197-
uses: actions/cache@v3
197+
uses: actions/cache@v4
198198
with:
199199
path: ${{ steps.go.outputs.cache }}
200200
key: ${{ runner.os }}-build-unit-tests-${{ hashFiles('**/go.sum') }}
201201
restore-keys: ${{ runner.os }}-build-unit-tests-
202202

203203
- name: Cache Go Dependencies
204-
uses: actions/cache@v3
204+
uses: actions/cache@v4
205205
with:
206206
path: .work/pkg
207207
key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }}
@@ -220,34 +220,34 @@ jobs:
220220

221221
steps:
222222
- name: Setup QEMU
223-
uses: docker/setup-qemu-action@v1
223+
uses: docker/setup-qemu-action@v3
224224
with:
225225
platforms: all
226226

227227
- name: Setup Docker Buildx
228-
uses: docker/setup-buildx-action@v2
228+
uses: docker/setup-buildx-action@v3
229229
with:
230230
version: ${{ env.DOCKER_BUILDX_VERSION }}
231231
install: true
232232

233233
- name: Login to Upbound
234-
uses: docker/login-action@v2
234+
uses: docker/login-action@v3
235235
if: env.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR != ''
236236
with:
237237
registry: xpkg.upbound.io
238238
username: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR }}
239239
password: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_PSW }}
240240

241241
- name: Checkout
242-
uses: actions/checkout@v2
242+
uses: actions/checkout@v4
243243
with:
244244
submodules: true
245245

246246
- name: Fetch History
247247
run: git fetch --prune --unshallow
248248

249249
- name: Setup Go
250-
uses: actions/setup-go@v2
250+
uses: actions/setup-go@v5
251251
with:
252252
go-version: ${{ env.GO_VERSION }}
253253

@@ -256,14 +256,14 @@ jobs:
256256
run: echo "cache=$(make go.cachedir)" >> $GITHUB_OUTPUT
257257

258258
- name: Cache the Go Build Cache
259-
uses: actions/cache@v3
259+
uses: actions/cache@v4
260260
with:
261261
path: ${{ steps.go.outputs.cache }}
262262
key: ${{ runner.os }}-build-publish-artifacts-${{ hashFiles('**/go.sum') }}
263263
restore-keys: ${{ runner.os }}-build-publish-artifacts-
264264

265265
- name: Cache Go Dependencies
266-
uses: actions/cache@v3
266+
uses: actions/cache@v4
267267
with:
268268
path: .work/pkg
269269
key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }}
@@ -280,7 +280,7 @@ jobs:
280280
BUILD_ARGS: "--load"
281281

282282
- name: Upload Artifacts to GitHub
283-
uses: actions/upload-artifact@v2
283+
uses: actions/upload-artifact@v4
284284
with:
285285
name: output
286286
path: _output/**

0 commit comments

Comments
 (0)