Skip to content

Commit

Permalink
Merge pull request #790 from pavolloffay/go123
Browse files Browse the repository at this point in the history
Bump Golang to 1.23
  • Loading branch information
philipgough authored Jan 22, 2025
2 parents 5c6e0f4 + 8d75968 commit e273f28
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- image: golang:1.22
- image: golang:1.23
steps:
- checkout
- run: |
Expand All @@ -11,7 +11,7 @@ jobs:
lint:
docker:
- image: golang:1.22
- image: golang:1.23
steps:
- checkout
- run: |
Expand All @@ -26,7 +26,7 @@ jobs:
- run: |
apt-get update && apt-get -y install xz-utils unzip openssl
sudo rm -rf /usr/local/go
wget -qO- https://golang.org/dl/go1.21.7.linux-amd64.tar.gz | sudo tar -C /usr/local -xzf -
wget -qO- https://golang.org/dl/go1.23.5.linux-amd64.tar.gz | sudo tar -C /usr/local -xzf -
export PATH=$PATH:/usr/local/go/bin
go version
make test --always-make
Expand All @@ -38,14 +38,14 @@ jobs:
- checkout
- run: |
sudo rm -rf /usr/local/go
wget -qO- https://golang.org/dl/go1.21.7.linux-amd64.tar.gz | sudo tar -C /usr/local -xzf -
wget -qO- https://golang.org/dl/go1.23.5.linux-amd64.tar.gz | sudo tar -C /usr/local -xzf -
export PATH=$PATH:/usr/local/go/bin
go version
make test-e2e
generate:
docker:
- image: golang:1.22
- image: golang:1.23
steps:
- checkout
- run: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.22.8-alpine3.20 as builder
FROM --platform=$BUILDPLATFORM golang:1.23.5-alpine3.20 as builder

ARG TARGETOS
ARG TARGETARCH
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.e2e-test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.8-alpine3.20 as builder
FROM golang:1.23.5-alpine3.20 as builder

RUN apk add --update --no-cache ca-certificates tzdata git make bash && update-ca-certificates

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/observatorium/api

go 1.22.0

toolchain go1.22.8
go 1.23.0

require (
github.com/brancz/kube-rbac-proxy v0.16.1
Expand Down

0 comments on commit e273f28

Please sign in to comment.