Skip to content

Commit 26e57d6

Browse files
committed
Update CI to go version 1.22
Signed-off-by: Cosmin Cojocar <[email protected]>
1 parent e60b8d8 commit 26e57d6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
test:
1111
strategy:
1212
matrix:
13-
version: [{go: '1.20.12', golangci: 'latest'}, {go: '1.21.5', golangci: 'latest'}]
13+
version: [{go: '1.21.7', golangci: 'latest'}, {go: '1.22.0', golangci: 'latest'}]
1414
runs-on: ubuntu-latest
1515
env:
1616
GO111MODULE: on
@@ -46,7 +46,7 @@ jobs:
4646
- name: Setup go
4747
uses: actions/setup-go@v5
4848
with:
49-
go-version: '1.21.5'
49+
go-version: '1.22.0'
5050
- name: Checkout Source
5151
uses: actions/checkout@v4
5252
- uses: actions/cache@v4

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v5
1919
with:
20-
go-version: '1.21.5'
20+
go-version: '1.22.0'
2121
- name: Install Cosign
2222
uses: sigstore/cosign-installer@v3
2323
with:
24-
cosign-release: 'v2.2.0'
24+
cosign-release: 'v2.2.3'
2525
- name: Store Cosign private key in a file
2626
run: 'echo "$COSIGN_KEY" > /tmp/cosign.key'
2727
shell: bash
@@ -67,7 +67,7 @@ jobs:
6767
tags: ${{steps.meta.outputs.tags}}
6868
labels: ${{steps.meta.outputs.labels}}
6969
push: true
70-
build-args: GO_VERSION=1.21
70+
build-args: GO_VERSION=1.22
7171
- name: Sign Docker Image
7272
run: cosign sign --yes --key /tmp/cosign.key ${DIGEST}
7373
env:

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ GOSEC ?= $(GOBIN)/gosec
1717
GINKGO ?= $(GOBIN)/ginkgo
1818
GO_MINOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f2)
1919
GOVULN_MIN_VERSION = 17
20-
GO_VERSION = 1.21
20+
GO_VERSION = 1.22
2121

2222
default:
2323
$(MAKE) build

0 commit comments

Comments
 (0)