From 0103dc1a0602a0eaee82571d2c04f1a1f4e220e1 Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Fri, 10 Jan 2025 09:52:26 -0800 Subject: [PATCH] upgrade to go 1.23 --- .github/workflows/sim.yaml | 2 +- Dockerfile-localnet | 6 +++--- Makefile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sim.yaml b/.github/workflows/sim.yaml index 11e6858a81..963a1ca6f9 100644 --- a/.github/workflows/sim.yaml +++ b/.github/workflows/sim.yaml @@ -84,7 +84,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.22' + go-version: '1.23' - name: Install dependencies run: make runsim diff --git a/Dockerfile-localnet b/Dockerfile-localnet index 88156b3319..dd329a712d 100644 --- a/Dockerfile-localnet +++ b/Dockerfile-localnet @@ -1,6 +1,6 @@ # syntax=ghcr.io/zeta-chain/docker-dockerfile:1.9-labs # check=error=true -FROM ghcr.io/zeta-chain/golang:1.22.7-bookworm AS base-build +FROM ghcr.io/zeta-chain/golang:1.23.3-bookworm AS base-build ENV GOPATH=/go ENV GOOS=linux @@ -27,10 +27,10 @@ RUN --mount=type=cache,target="/root/.cache/go-build" \ NODE_COMMIT=${NODE_COMMIT} \ make install install-zetae2e -FROM ghcr.io/zeta-chain/golang:1.22.7-bookworm AS cosmovisor-build +FROM ghcr.io/zeta-chain/golang:1.23.3-bookworm AS cosmovisor-build RUN go install cosmossdk.io/tools/cosmovisor/cmd/cosmovisor@v1.7.0 -FROM ghcr.io/zeta-chain/golang:1.22.7-bookworm AS base-runtime +FROM ghcr.io/zeta-chain/golang:1.23.3-bookworm AS base-runtime RUN apt update && \ apt install -yq jq yq curl tmux python3 openssh-server iputils-ping iproute2 bind9-host && \ diff --git a/Makefile b/Makefile index 89a42ab4e9..910791e5c7 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ GOFLAGS := "" GOPATH ?= '$(HOME)/go' # common goreaser command definition -GOLANG_CROSS_VERSION ?= v1.22.7@sha256:24b2d75007f0ec8e35d01f3a8efa40c197235b200a1a91422d78b851f67ecce4 +GOLANG_CROSS_VERSION ?= v1.23.3@sha256:380420abb74844aaebca5bf9e2d00b1d7c78f59ce9e6d47cdb3276281702ca23 GORELEASER := $(DOCKER) run \ --rm \ --privileged \