From f1f8778b05235c539bbd75477f519c3d9e7f1036 Mon Sep 17 00:00:00 2001 From: Jan Baraniewski Date: Mon, 16 Sep 2024 18:05:48 +0200 Subject: [PATCH] Upgrade go 1.22.0 -> 1.23.1 --- .github/workflows/pre-release.yml | 2 +- .github/workflows/test.yml | 6 +++--- Dockerfile | 2 +- Dockerfile.monitor | 2 +- Dockerfile.webhook | 2 +- go.mod | 4 +--- 6 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 23f09ca..cfba5a4 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' - name: "Test" run: make test # - name: "Test code gen" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 45b2098..5736235 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -100,7 +100,7 @@ jobs: # - name: Set up Go # uses: actions/setup-go@v2 # with: - # go-version: 1.22 + # go-version: 1.23 # - name: debug paths and dirs # run: | @@ -118,7 +118,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' - name: golangci-lint uses: golangci/golangci-lint-action@v6 with: @@ -131,7 +131,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' - name: Test run: make test - name: Upload coverage diff --git a/Dockerfile b/Dockerfile index 1b4cd13..7b4ab38 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:latest # Build the manager binary -FROM --platform=$BUILDPLATFORM golang:1.22-alpine as builder +FROM --platform=$BUILDPLATFORM golang:1.23-alpine as builder RUN apk update RUN apk add make bash WORKDIR /workspace diff --git a/Dockerfile.monitor b/Dockerfile.monitor index f4750a0..68c4584 100644 --- a/Dockerfile.monitor +++ b/Dockerfile.monitor @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:latest -FROM --platform=$BUILDPLATFORM golang:1.22-bullseye AS builder +FROM --platform=$BUILDPLATFORM golang:1.23-bullseye AS builder WORKDIR /workspace COPY go.mod go.sum ./ diff --git a/Dockerfile.webhook b/Dockerfile.webhook index 827c662..6fbf3de 100644 --- a/Dockerfile.webhook +++ b/Dockerfile.webhook @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:latest # Build the manager binary -FROM --platform=$BUILDPLATFORM golang:1.22-alpine as builder +FROM --platform=$BUILDPLATFORM golang:1.23-alpine as builder RUN apk update RUN apk add make bash WORKDIR /workspace diff --git a/go.mod b/go.mod index 1e4031b..a85f053 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/janekbaraniewski/kubeserial -go 1.22.0 - -toolchain go1.22.2 +go 1.23.1 require ( github.com/regclient/regclient v0.4.8