Skip to content

Commit

Permalink
Upgrade go 1.22.0 -> 1.23.1
Browse files Browse the repository at this point in the history
  • Loading branch information
janekbaraniewski committed Sep 16, 2024
1 parent ccbd80b commit f1f8778
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.monitor
Original file line number Diff line number Diff line change
@@ -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 ./
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.webhook
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f1f8778

Please sign in to comment.