diff --git a/.docker/Dockerfile b/.docker/Dockerfile index 26b97e7a8..dca0b6817 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.17 as builder +FROM golang:1.19 as builder ARG BUILD=now ARG REPO=github.com/nspcc-dev/neofs-s3-gw diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 1af579b78..d08a7bd3e 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -21,7 +21,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v2 with: - go-version: 1.17 + go-version: 1.19 - name: Restore Go modules from cache uses: actions/cache@v2 @@ -60,7 +60,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.17 + go-version: 1.19 - name: Restore Go modules from cache uses: actions/cache@v2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cecafdb4f..e1438c08c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,7 +38,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.17 + go-version: 1.19 - name: Restore Go modules from cache uses: actions/cache@v2 @@ -67,7 +67,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - go_versions: [ '1.17.x', '1.18.x' ] + go_versions: [ '1.18.x', '1.19.x' ] fail-fast: false steps: - uses: actions/checkout@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index f2b780729..31c57f596 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ This document outlines major changes between releases. - Configuration of `set_copies_number` (#634, #637) ### Changed - Improved wallet configuration via `.yaml` config and environment variables (#607) +- Update go version for build to 1.19 (#694) ### Removed ### Fixed - Responses to `GetObject` and `HeadObject`: removed redundant `VersionID` (#577) diff --git a/Makefile b/Makefile index a0c379408..4bb3fbc87 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # Common variables REPO ?= $(shell go list -m) VERSION ?= $(shell git describe --tags --dirty --match "v*" --always 2>/dev/null || cat VERSION 2>/dev/null || echo "develop") -GO_VERSION ?= 1.17 +GO_VERSION ?= 1.19 LINT_VERSION ?= 1.46.2 BINDIR = bin