[#5] go.mod: Bump supported go version to 1.18

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2022-12-30 12:42:09 +03:00
parent 6f8dd816fb
commit 2a9bfdf051
6 changed files with 5 additions and 4 deletions

View file

@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
go: [ '1.17.x', '1.18.x', '1.19.x' ] go: [ '1.18.x', '1.19.x' ]
steps: steps:
- name: Setup go - name: Setup go
uses: actions/setup-go@v3 uses: actions/setup-go@v3

View file

@ -14,6 +14,7 @@ Changelog for NeoFS Node
- `golang.org/x/term` to `v0.3.0` - `golang.org/x/term` to `v0.3.0`
- `google.golang.org/grpc` to `v1.51.0` - `google.golang.org/grpc` to `v1.51.0`
- `github.com/nats-io/nats.go` to `v1.22.1` - `github.com/nats-io/nats.go` to `v1.22.1`
- Minimum go version to v1.18
### Updating from v0.35.0 ### Updating from v0.35.0

View file

@ -7,7 +7,7 @@ VERSION ?= $(shell git describe --tags --dirty --match "v*" --always --abbrev=8
HUB_IMAGE ?= truecloudlab/frostfs HUB_IMAGE ?= truecloudlab/frostfs
HUB_TAG ?= "$(shell echo ${VERSION} | sed 's/^v//')" HUB_TAG ?= "$(shell echo ${VERSION} | sed 's/^v//')"
GO_VERSION ?= 1.17 GO_VERSION ?= 1.19
LINT_VERSION ?= 1.50.0 LINT_VERSION ?= 1.50.0
ARCH = amd64 ARCH = amd64

View file

@ -52,7 +52,7 @@ The latest version of neofs-node works with neofs-contract
# Building # Building
To make all binaries you need Go 1.17+ and `make`: To make all binaries you need Go 1.18+ and `make`:
``` ```
make all make all
``` ```

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/TrueCloudLab/frostfs-node module github.com/TrueCloudLab/frostfs-node
go 1.17 go 1.18
require ( require (
github.com/TrueCloudLab/frostfs-api-go/v2 v2.0.0-20221212144048-1351b6656d68 github.com/TrueCloudLab/frostfs-api-go/v2 v2.0.0-20221212144048-1351b6656d68

BIN
go.sum

Binary file not shown.