From 37d0e4bcbd43e8a7c25d1c1343aea3d5c2e3bf23 Mon Sep 17 00:00:00 2001 From: Kirill Date: Mon, 20 May 2024 15:38:36 +0400 Subject: [PATCH] Update go to 1.22.2 (#1838) --- .github/workflows/juno-test.yml | 2 +- Dockerfile | 3 ++- go.mod | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/juno-test.yml b/.github/workflows/juno-test.yml index a79965756c..f1dbad0cfd 100644 --- a/.github/workflows/juno-test.yml +++ b/.github/workflows/juno-test.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - go: [ '1.22' ] + go: [ '1.22.2' ] os: [ ubuntu-latest, macos-latest, self-hosted-linux-arm64] runs-on: ${{ matrix.os }} env: diff --git a/Dockerfile b/Dockerfile index 03940495de..ed40d57697 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,10 @@ # Stage 1: Build golang dependencies and binaries -FROM ubuntu:23.10 AS build +FROM ubuntu:24.04 AS build ARG VM_DEBUG # Install Alpine Dependencies +# removal is temp. to fix https://github.com/orgs/community/discussions/120966 RUN apt-get update && \ apt-get install build-essential cargo git golang upx-ucl libjemalloc-dev libjemalloc2 -y diff --git a/go.mod b/go.mod index 68c0244dfe..6cf54c0e9d 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/NethermindEth/juno // if version specified as "1.22" (without bugfix) it breaks CodeQL github build -go 1.22.0 +go 1.22.2 require ( github.com/Masterminds/semver/v3 v3.2.1