mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 13:47:19 +00:00
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:
parent
e1d3223505
commit
eee457ae49
4 changed files with 5 additions and 24 deletions
|
@ -3,11 +3,6 @@ orbs:
|
||||||
codecov: codecov/codecov@1.0.5
|
codecov: codecov/codecov@1.0.5
|
||||||
|
|
||||||
executors:
|
executors:
|
||||||
go1_12:
|
|
||||||
docker:
|
|
||||||
- image: circleci/golang:1.12
|
|
||||||
environment:
|
|
||||||
GO111MODULE: "on"
|
|
||||||
go1_13:
|
go1_13:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang:1.13
|
- image: circleci/golang:1.13
|
||||||
|
@ -54,16 +49,6 @@ jobs:
|
||||||
name: go-vet
|
name: go-vet
|
||||||
command: 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:
|
test_1_13:
|
||||||
working_directory: /go/src/github.com/nspcc-dev/neo-go
|
working_directory: /go/src/github.com/nspcc-dev/neo-go
|
||||||
executor: go1_13
|
executor: go1_13
|
||||||
|
@ -100,7 +85,7 @@ jobs:
|
||||||
|
|
||||||
build_cli:
|
build_cli:
|
||||||
working_directory: /go/src/github.com/nspcc-dev/neo-go
|
working_directory: /go/src/github.com/nspcc-dev/neo-go
|
||||||
executor: go1_12
|
executor: go1_14
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- gomod
|
- gomod
|
||||||
|
@ -111,7 +96,7 @@ jobs:
|
||||||
|
|
||||||
build_image:
|
build_image:
|
||||||
working_directory: /go/src/github.com/nspcc-dev/neo-go
|
working_directory: /go/src/github.com/nspcc-dev/neo-go
|
||||||
executor: go1_12
|
executor: go1_14
|
||||||
docker:
|
docker:
|
||||||
- image: golang:1-alpine
|
- image: golang:1-alpine
|
||||||
steps:
|
steps:
|
||||||
|
@ -142,10 +127,6 @@ workflows:
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: v/[0-9]+\.[0-9]+\.[0-9]+/
|
only: v/[0-9]+\.[0-9]+\.[0-9]+/
|
||||||
- test_1_12:
|
|
||||||
filters:
|
|
||||||
tags:
|
|
||||||
only: v/[0-9]+\.[0-9]+\.[0-9]+/
|
|
||||||
- test_1_13:
|
- test_1_13:
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
- 1.12.x
|
- 1.14.x
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
install:
|
install:
|
||||||
|
|
|
@ -36,7 +36,7 @@ Neo 3 code (0.90.0 being compatible with Neo 3 preview2).
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Go: 1.12+
|
Go: 1.13+
|
||||||
|
|
||||||
Install dependencies.
|
Install dependencies.
|
||||||
|
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -28,4 +28,4 @@ require (
|
||||||
gopkg.in/abiosoft/ishell.v2 v2.0.0
|
gopkg.in/abiosoft/ishell.v2 v2.0.0
|
||||||
)
|
)
|
||||||
|
|
||||||
go 1.12
|
go 1.13
|
||||||
|
|
Loading…
Reference in a new issue