Skip to content

Commit

Permalink
Update CI to go version 1.22
Browse files Browse the repository at this point in the history
Signed-off-by: Cosmin Cojocar <[email protected]>
  • Loading branch information
ccojocar committed Feb 12, 2024
1 parent e60b8d8 commit 26e57d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test:
strategy:
matrix:
version: [{go: '1.20.12', golangci: 'latest'}, {go: '1.21.5', golangci: 'latest'}]
version: [{go: '1.21.7', golangci: 'latest'}, {go: '1.22.0', golangci: 'latest'}]
runs-on: ubuntu-latest
env:
GO111MODULE: on
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.21.5'
go-version: '1.22.0'
- name: Checkout Source
uses: actions/checkout@v4
- uses: actions/cache@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21.5'
go-version: '1.22.0'
- name: Install Cosign
uses: sigstore/cosign-installer@v3
with:
cosign-release: 'v2.2.0'
cosign-release: 'v2.2.3'
- name: Store Cosign private key in a file
run: 'echo "$COSIGN_KEY" > /tmp/cosign.key'
shell: bash
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
tags: ${{steps.meta.outputs.tags}}
labels: ${{steps.meta.outputs.labels}}
push: true
build-args: GO_VERSION=1.21
build-args: GO_VERSION=1.22
- name: Sign Docker Image
run: cosign sign --yes --key /tmp/cosign.key ${DIGEST}
env:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ GOSEC ?= $(GOBIN)/gosec
GINKGO ?= $(GOBIN)/ginkgo
GO_MINOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f2)
GOVULN_MIN_VERSION = 17
GO_VERSION = 1.21
GO_VERSION = 1.22

default:
$(MAKE) build
Expand Down

0 comments on commit 26e57d6

Please sign in to comment.