forked from TrueCloudLab/frostfs-rest-gw
[#61] Update go version to 1.19
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
ebe2c19bdb
commit
746caa06d9
5 changed files with 9 additions and 6 deletions
4
.github/workflows/builds.yml
vendored
4
.github/workflows/builds.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.17
|
go-version: 1.19
|
||||||
|
|
||||||
- name: Restore Go modules from cache
|
- name: Restore Go modules from cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
@ -55,7 +55,7 @@ jobs:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.17
|
go-version: 1.19
|
||||||
|
|
||||||
- name: Restore Go modules from cache
|
- name: Restore Go modules from cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
|
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.17
|
go-version: 1.19
|
||||||
|
|
||||||
- name: Restore Go modules from cache
|
- name: Restore Go modules from cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
@ -61,7 +61,7 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go_versions: [ '1.17.x', '1.18.x' ]
|
go_versions: [ '1.18.x', '1.19.x' ]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
@ -4,6 +4,9 @@ This document outlines major changes between releases.
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Update go version for build to 1.19 (#61)
|
||||||
|
|
||||||
## [0.4.0] "Shadowglen" - 2022-08-30
|
## [0.4.0] "Shadowglen" - 2022-08-30
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM golang:1.17 as basebuilder
|
FROM golang:1.19 as basebuilder
|
||||||
|
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@
|
||||||
REPO ?= "$(shell go list -m)"
|
REPO ?= "$(shell go list -m)"
|
||||||
VERSION ?= "$(shell git describe --tags --match "v*" --dirty --always 2>/dev/null || cat VERSION 2>/dev/null || echo "develop")"
|
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
|
LINT_VERSION ?= v1.46.2
|
||||||
|
|
||||||
HUB_IMAGE ?= nspccdev/neofs-rest-gw
|
HUB_IMAGE ?= nspccdev/neofs-rest-gw
|
||||||
|
|
Loading…
Reference in a new issue