From a7723ce77d55e4b47f4d7259f5fa0d251ffb9db8 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Wed, 9 Aug 2023 18:31:21 +0300 Subject: [PATCH] *: Bump minimal go version up to 1.19 Signed-off-by: Pavel Karpy --- .docker/Dockerfile.adm | 2 +- .docker/Dockerfile.cli | 2 +- .docker/Dockerfile.ir | 2 +- .docker/Dockerfile.storage | 2 +- .docker/Dockerfile.storage-testnet | 2 +- .github/workflows/go.yml | 2 +- CHANGELOG.md | 1 + Makefile | 2 +- go.mod | 2 +- 9 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.docker/Dockerfile.adm b/.docker/Dockerfile.adm index 31fddd6130..be1e200cda 100644 --- a/.docker/Dockerfile.adm +++ b/.docker/Dockerfile.adm @@ -1,4 +1,4 @@ -FROM golang:1.20 as builder +FROM golang:1.21 as builder ARG BUILD=now ARG VERSION=dev ARG REPO=repository diff --git a/.docker/Dockerfile.cli b/.docker/Dockerfile.cli index 789322e80b..32dfe1d8a4 100644 --- a/.docker/Dockerfile.cli +++ b/.docker/Dockerfile.cli @@ -1,4 +1,4 @@ -FROM golang:1.20 as builder +FROM golang:1.21 as builder ARG BUILD=now ARG VERSION=dev ARG REPO=repository diff --git a/.docker/Dockerfile.ir b/.docker/Dockerfile.ir index 00ed0b4358..0e17604d43 100644 --- a/.docker/Dockerfile.ir +++ b/.docker/Dockerfile.ir @@ -1,4 +1,4 @@ -FROM golang:1.20 as builder +FROM golang:1.21 as builder ARG BUILD=now ARG VERSION=dev ARG REPO=repository diff --git a/.docker/Dockerfile.storage b/.docker/Dockerfile.storage index 39857dc975..94031ce6be 100644 --- a/.docker/Dockerfile.storage +++ b/.docker/Dockerfile.storage @@ -1,4 +1,4 @@ -FROM golang:1.20 as builder +FROM golang:1.21 as builder ARG BUILD=now ARG VERSION=dev ARG REPO=repository diff --git a/.docker/Dockerfile.storage-testnet b/.docker/Dockerfile.storage-testnet index 0cbf1373ab..55f6ecc2c2 100644 --- a/.docker/Dockerfile.storage-testnet +++ b/.docker/Dockerfile.storage-testnet @@ -1,4 +1,4 @@ -FROM golang:1.20 as builder +FROM golang:1.21 as builder ARG BUILD=now ARG VERSION=dev ARG REPO=repository diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c35d735125..beebf31663 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - go: [ '1.18.x', '1.19.x', '1.20' ] + go: [ '1.19.x', '1.20.x', '1.21' ] steps: - name: Setup go uses: actions/setup-go@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index ad0a607284..2920dc25ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ Changelog for NeoFS Node ### Removed ### Updated +- Update minimal supported Go version up to v1.19 (#2485) ### Updating from v0.38.0 diff --git a/Makefile b/Makefile index 3b47cadf48..0cb65e7ff6 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ VERSION ?= $(shell git describe --tags --dirty --match "v*" --always --abbrev=8 HUB_IMAGE ?= nspccdev/neofs HUB_TAG ?= "$(shell echo ${VERSION} | sed 's/^v//')" -GO_VERSION ?= 1.20 +GO_VERSION ?= 1.21 LINT_VERSION ?= 1.54.0 ARCH = amd64 diff --git a/go.mod b/go.mod index 6cf6b0b50c..1c079a667d 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/nspcc-dev/neofs-node -go 1.18 +go 1.19 require ( github.com/cheggaaa/pb v1.0.29