[#61] Update go version to 1.19

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2022-08-30 15:42:01 +03:00 committed by Alex Vanin
parent ebe2c19bdb
commit 746caa06d9
5 changed files with 9 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -1,4 +1,4 @@
FROM golang:1.17 as basebuilder
FROM golang:1.19 as basebuilder
RUN set -x \
&& apt-get update \

View file

@ -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