Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade go to 1.22.7 #5511

Closed
wants to merge 11 commits into from
4 changes: 2 additions & 2 deletions Dockerfile_build
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
# also include minor releases, so 1.2 includes 1.2.1 and so on, for bugfix releases.
FROM rust:1.78 as RUSTBUILD

FROM golang:1.21 as PKGCONFIG
FROM golang:1.22 as PKGCONFIG
COPY go.mod go.sum /go/src/github.com/influxdata/flux/
RUN cd /go/src/github.com/influxdata/flux && \
go build -o /usr/local/bin/cgo-pkgbuild github.com/influxdata/pkg-config

FROM golang:1.21
FROM golang:1.22

# Install common packages
RUN apt-get update && \
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/influxdata/flux

go 1.21.0
go 1.22.7

require (
cloud.google.com/go v0.114.0
Expand Down
4 changes: 2 additions & 2 deletions internal/tools/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/influxdata/flux/internal/tools

go 1.21
go 1.22

toolchain go1.21.3
toolchain go1.22.7

require (
github.com/benbjohnson/tmpl v1.0.0
Expand Down