From 746caa06d9d03d4c341fd5f3a6bdc1b9839f2b2d Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Tue, 30 Aug 2022 15:42:01 +0300 Subject: [PATCH] [#61] Update go version to 1.19 Signed-off-by: Denis Kirillov --- .github/workflows/builds.yml | 4 ++-- .github/workflows/tests.yml | 4 ++-- CHANGELOG.md | 3 +++ Dockerfile | 2 +- Makefile | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 1ac51ce..54ddd0e 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -22,7 +22,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 @@ -55,7 +55,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 9776287..6c28e6f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,7 +35,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 @@ -61,7 +61,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 a595330..a602e46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ This document outlines major changes between releases. ## [Unreleased] +### Changed +- Update go version for build to 1.19 (#61) + ## [0.4.0] "Shadowglen" - 2022-08-30 ### Fixed diff --git a/Dockerfile b/Dockerfile index 5aa675c..5cf7d8c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.17 as basebuilder +FROM golang:1.19 as basebuilder RUN set -x \ && apt-get update \ diff --git a/Makefile b/Makefile index f5ab144..f201224 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ REPO ?= "$(shell go list -m)" VERSION ?= "$(shell git describe --tags --match "v*" --dirty --always 2>/dev/null || cat VERSION 2>/dev/null || echo "develop")" -GO_VERSION ?= 1.17 +GO_VERSION ?= 1.19 LINT_VERSION ?= v1.46.2 HUB_IMAGE ?= nspccdev/neofs-rest-gw