Skip to content

Commit 7b39d73

Browse files
committed
bump Go to 1.23
1 parent 56ab355 commit 7b39d73

File tree

8 files changed

+8
-7
lines changed

8 files changed

+8
-7
lines changed

.github/ISSUE_TEMPLATE/bug.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ body:
2424
- type: textarea
2525
attributes:
2626
label: TestRun / PrivateLoadZone YAML
27+
placeholder: Paste your YAML ```with 3 backticks to include formatting```
2728
validations:
2829
required: true
2930
- type: input

.github/workflows/e2e-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
file: Dockerfile.controller
2626
push: true
2727
build-args: |
28-
GO_BUILDER_IMG=golang:1.22
28+
GO_BUILDER_IMG=golang:1.23
2929
tags: |
3030
ghcr.io/grafana/k6-operator:${{ github.sha }}
3131

.github/workflows/golangci-lint.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v4
1212
- uses: actions/setup-go@v5
1313
with:
14-
go-version: '1.22'
14+
go-version: '1.23'
1515
cache: false
1616
- name: lint
1717
uses: golangci/golangci-lint-action@v3

.github/workflows/push.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
push: true
4848
file: Dockerfile.controller
4949
build-args: |
50-
GO_BUILDER_IMG=golang:1.22
50+
GO_BUILDER_IMG=golang:1.23
5151
platforms: linux/amd64,linux/arm64
5252
tags: ghcr.io/grafana/k6-operator:latest,ghcr.io/grafana/k6-operator:controller-${{env.IMAGETAG}}
5353
- name: "Build:dockerimage"

.github/workflows/unit-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
test:
88
strategy:
99
matrix:
10-
go-version: [1.22.x]
10+
go-version: [1.23.x]
1111
k8s_version: [1.24.1, 1.27.1, 1.30.0]
1212
os: [ubuntu-latest]
1313
runs-on: ${{ matrix.os }}

Dockerfile.controller

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG GO_BUILDER_IMG
22
# Build the manager binary
3-
FROM ${GO_BUILDER_IMG} as builder
3+
FROM ${GO_BUILDER_IMG} AS builder
44

55
WORKDIR /workspace
66
# Copy the Go Modules manifests

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ CONTROLLER_GEN_VERSION=v0.16.1
1515
CONTROLLER_GEN=$(GOBIN)/controller-gen
1616

1717
# Image to use for building Go
18-
GO_BUILDER_IMG ?= "golang:1.22"
18+
GO_BUILDER_IMG ?= "golang:1.23"
1919
# Image URL to use all building/pushing image targets
2020
IMG_NAME ?= ghcr.io/grafana/k6-operator
2121
IMG_TAG ?= latest

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/grafana/k6-operator
22

3-
go 1.22.0
3+
go 1.23.0
44

55
require (
66
github.com/go-logr/logr v1.4.2

0 commit comments

Comments
 (0)