From 8060dc707daea8b2a0412706f3fa8f2cadcc6c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gianguido=20Sor=C3=A0?= Date: Thu, 4 Jul 2024 12:27:25 +0200 Subject: [PATCH] *: update to Go v1.22.5 (#3163) Fixes https://pkg.go.dev/vuln/GO-2024-2963. category: fixbuild ticket: none --- .github/actions/setup-go/action.yml | 2 +- .golangci.yml | 4 ++-- Dockerfile | 2 +- testutil/promrated/Dockerfile | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup-go/action.yml b/.github/actions/setup-go/action.yml index 779b4804a..d36e379a9 100644 --- a/.github/actions/setup-go/action.yml +++ b/.github/actions/setup-go/action.yml @@ -6,4 +6,4 @@ runs: - name: Setup go uses: actions/setup-go@v4 with: - go-version: '1.22.4' + go-version: '1.22.5' diff --git a/.golangci.yml b/.golangci.yml index 20c741e73..dc0933c2e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,6 +1,6 @@ run: timeout: 5m - go: "1.22.4" + go: "1.22.5" linters-settings: cyclop: max-complexity: 15 @@ -99,7 +99,7 @@ linters-settings: - "github.com/gogo/protobuf/proto" # Prefer google.golang.org/protobuf - "github.com/prometheus/client_golang/prometheus/promauto" # Prefer ./app/promauto staticcheck: - go: "1.22.4" + go: "1.22.5" checks: - "all" - "-SA1019" # Ignoring since github.com/drand/kyber/sign/bls uses Proof Of Possession as does Ethereum. diff --git a/Dockerfile b/Dockerfile index ea74d20af..e175145ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Container for building Go binary. -FROM golang:1.22.4-bookworm AS builder +FROM golang:1.22.5-bookworm AS builder # Install dependencies RUN apt-get update && apt-get install -y build-essential git # Prep and copy source diff --git a/testutil/promrated/Dockerfile b/testutil/promrated/Dockerfile index c53d26e0b..d75382daf 100644 --- a/testutil/promrated/Dockerfile +++ b/testutil/promrated/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22.4-alpine AS builder +FROM golang:1.22.5-alpine AS builder # Install dependencies RUN apk add --no-cache build-base git