diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 733f6f61..16ebe106 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -36,9 +36,9 @@ jobs: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Set up Go - uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 + uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 with: - go-version: 1.23 + go-version: 1.24 - name: Build run: go build -v ./... diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 023c119b..4e63f488 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -22,9 +22,9 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 + - uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 with: - go-version: 1.23 + go-version: 1.24 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: golangci-lint uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0 diff --git a/Dockerfile b/Dockerfile index d1bc42de..f1881f31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ARG UBUNTU_VER=24.04 ARG HLF_VERSION=2.5 FROM ubuntu:${UBUNTU_VER} AS build -ARG GO_VER=1.23.0 +ARG GO_VER=1.24.0 ENV GOPATH=/go ENV DEBIAN_FRONTEND="noninteractive" diff --git a/samples/go-contract/Dockerfile b/samples/go-contract/Dockerfile index 2326db06..0a53e389 100644 --- a/samples/go-contract/Dockerfile +++ b/samples/go-contract/Dockerfile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: Apache-2.0 -ARG GO_VER=1.23.0 -ARG ALPINE_VER=3.19 +ARG GO_VER=1.24.0 +ARG ALPINE_VER=3.21 FROM golang:${GO_VER}-alpine${ALPINE_VER} AS build diff --git a/samples/go-contract/go.mod b/samples/go-contract/go.mod index cf57efd3..0368a3b7 100644 --- a/samples/go-contract/go.mod +++ b/samples/go-contract/go.mod @@ -1,6 +1,6 @@ module github.com/hyperledger-labs/fabric-builder-k8s/samples/go-contract -go 1.23.0 +go 1.24.0 require github.com/hyperledger/fabric-contract-api-go/v2 v2.2.0