diff --git a/.github/workflows/ci-pr.yaml b/.github/workflows/ci-pr.yaml index 7e2069955f..7fd7d7a428 100644 --- a/.github/workflows/ci-pr.yaml +++ b/.github/workflows/ci-pr.yaml @@ -64,7 +64,7 @@ jobs: name: Set up Go uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 #v6.5.0 with: - go-version: '1.24.2' + go-version: '1.26.5' cache-dependency-path: go/src/github.com/harmony-one/harmony/go.sum - name: Build harmony diff --git a/Dockerfile b/Dockerfile index 90ce25f97b..664eb400f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:22.04 ARG TARGETARCH -ARG GOLANG_VERSION="1.24.2" +ARG GOLANG_VERSION="1.26.5" SHELL ["/bin/bash", "-c"] diff --git a/README.md b/README.md index ba69a146f5..4dc1d1fbea 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ http://api.hmny.io/ ## Requirements -### **Go 1.24.2** +### **Go 1.26.5** ### **GMP and OpenSSL** On macOS: @@ -276,4 +276,3 @@ See [`CONTRIBUTING`](CONTRIBUTING.md) for details. - Integration with WASM - Fast state synchronization - Auditable privacy asset using ZK proof - diff --git a/Test.Dockerfile b/Test.Dockerfile index ad0a974f3b..7ff43e6e05 100644 --- a/Test.Dockerfile +++ b/Test.Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.24 +FROM golang:1.26.5 ARG ENV=dev diff --git a/api/service/synchronize/legacysync/downloader/Proto.Dockerfile b/api/service/synchronize/legacysync/downloader/Proto.Dockerfile index e154dc0e67..bca00e6c13 100644 --- a/api/service/synchronize/legacysync/downloader/Proto.Dockerfile +++ b/api/service/synchronize/legacysync/downloader/Proto.Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.24.2-bullseye +FROM golang:1.26.5-bullseye # hadolint ignore=DL3008 RUN apt-get update > /dev/null 2>&1 && \ diff --git a/go.mod b/go.mod index c29c096e16..18b670390c 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/harmony-one/harmony -go 1.24.0 +go 1.26.0 -toolchain go1.24.2 +toolchain go1.26.5 require ( github.com/RoaringBitmap/roaring v1.2.3 diff --git a/rosetta/infra/Dockerfile b/rosetta/infra/Dockerfile index 28d11a885f..76e00373ae 100644 --- a/rosetta/infra/Dockerfile +++ b/rosetta/infra/Dockerfile @@ -1,5 +1,5 @@ # Build -FROM golang:1.24.2 AS build +FROM golang:1.26.5 AS build RUN apt update -y && \ apt install libgmp-dev libssl-dev git -y && \ diff --git a/scripts/macos_docker/Dockerfile b/scripts/macos_docker/Dockerfile index e8ad312bb6..e114202fff 100644 --- a/scripts/macos_docker/Dockerfile +++ b/scripts/macos_docker/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:22.04 ARG TARGETARCH -ARG GOLANG_VERSION="1.22.5" +ARG GOLANG_VERSION="1.26.5" SHELL ["/bin/bash", "-c"] @@ -61,4 +61,3 @@ RUN . ~/.bash_profile; \ go install github.com/stamblerre/gocode; \ go install golang.org/x/tools/...; \ go install honnef.co/go/tools/cmd/staticcheck/... -