Skip to content

Commit e854844

Browse files
committed
Use Go 1.21
1 parent 167f599 commit e854844

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

.github/workflows/build-test-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
branches: [ "main" ]
1414

1515
env:
16-
GO_VERSION: ~1.20
16+
GO_VERSION: ~1.21
1717
# Taken from https://github.com/kubernetes-sigs/kind/releases/tag/v0.18.0
1818
# The image here should be listed under 'Images built for this release' for the version of kind in go.mod
1919
KIND_NODE_IMAGE: "kindest/node:v1.26.3@sha256:61b92f38dff6ccc29969e7aa154d34e38b89443af1a2c14e6cfbd2df6419c66f"

.github/workflows/codeql-analysis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ jobs:
3737
- name: Checkout repository
3838
uses: actions/checkout@v4
3939

40+
- name: Install Go
41+
uses: actions/setup-go@v4
42+
with:
43+
go-version-file: go.mod
44+
4045
# Initializes the CodeQL tools for scanning.
4146
- name: Initialize CodeQL
4247
uses: github/codeql-action/init@v3

.github/workflows/prometheus-rules.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- observability/prometheus/rules/**/*.y*ml
88

99
env:
10-
GO_VERSION: ~1.20
10+
GO_VERSION: ~1.21
1111

1212
jobs:
1313
rules:

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM --platform=$BUILDPLATFORM golang:1.20 as builder
2+
FROM --platform=$BUILDPLATFORM golang:1.21 as builder
33

44
WORKDIR /workspace
55

go.mod

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ require (
1111
github.com/go-logr/logr v1.4.1
1212
github.com/go-stomp/stomp v2.1.4+incompatible
1313
github.com/michaelklishin/rabbit-hole/v2 v2.15.0
14-
github.com/mikefarah/yq/v4 v4.40.5
1514
github.com/onsi/ginkgo/v2 v2.13.2
1615
github.com/onsi/gomega v1.30.0
1716
github.com/rabbitmq/amqp091-go v1.9.0

tools/tools.go

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ package tools
55

66
import (
77
_ "github.com/elastic/crd-ref-docs"
8-
_ "github.com/mikefarah/yq/v4"
98
_ "github.com/onsi/ginkgo/v2/ginkgo"
109
_ "github.com/sclevine/yj"
1110
_ "golang.org/x/vuln/cmd/govulncheck"

0 commit comments

Comments
 (0)