drop support for Go 1.12

It's old and not maintained. Use latest Go for builds and test only with 1.13
and 1.14.
This commit is contained in:
Roman Khimov 2020-08-06 16:28:41 +03:00
parent 9aa7b7fc97
commit bb4385ca50
4 changed files with 5 additions and 24 deletions

View file

@ -3,11 +3,6 @@ orbs:
codecov: codecov/codecov@1.0.5
executors:
go1_12:
docker:
- image: circleci/golang:1.12
environment:
GO111MODULE: "on"
go1_13:
docker:
- image: circleci/golang:1.13
@ -54,16 +49,6 @@ jobs:
name: go-vet
command: go vet ./...
test_1_12:
working_directory: /go/src/github.com/nspcc-dev/neo-go
executor: go1_12
steps:
- checkout
- run: git submodule sync
- run: git submodule update --init
- gomod
- run: go test -v -race ./...
test_1_13:
working_directory: /go/src/github.com/nspcc-dev/neo-go
executor: go1_13
@ -88,7 +73,7 @@ jobs:
build_cli:
working_directory: /go/src/github.com/nspcc-dev/neo-go
executor: go1_12
executor: go1_14
steps:
- checkout
- gomod
@ -99,7 +84,7 @@ jobs:
build_image:
working_directory: /go/src/github.com/nspcc-dev/neo-go
executor: go1_12
executor: go1_14
docker:
- image: golang:1-alpine
steps:
@ -130,10 +115,6 @@ workflows:
filters:
tags:
only: v/[0-9]+\.[0-9]+\.[0-9]+/
- test_1_12:
filters:
tags:
only: v/[0-9]+\.[0-9]+\.[0-9]+/
- test_1_13:
filters:
tags:

View file

@ -1,6 +1,6 @@
language: go
go:
- 1.12.x
- 1.14.x
env:
- GO111MODULE=on
install:

View file

@ -35,7 +35,7 @@ branch and only contain Neo 2 code.
## Installation
Go: 1.12+
Go: 1.13+
Install dependencies.

2
go.mod
View file

@ -26,4 +26,4 @@ require (
gopkg.in/abiosoft/ishell.v2 v2.0.0
)
go 1.12
go 1.13