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