mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +00:00
*: drop Go 1.14
This commit is contained in:
parent
581132727b
commit
ad5acf4873
6 changed files with 5 additions and 23 deletions
|
@ -3,11 +3,6 @@ orbs:
|
||||||
codecov: codecov/codecov@1.0.5
|
codecov: codecov/codecov@1.0.5
|
||||||
|
|
||||||
executors:
|
executors:
|
||||||
go1_14:
|
|
||||||
docker:
|
|
||||||
- image: circleci/golang:1.14
|
|
||||||
environment:
|
|
||||||
GO111MODULE: "on"
|
|
||||||
go1_15:
|
go1_15:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang:1.15
|
- image: circleci/golang:1.15
|
||||||
|
@ -44,15 +39,6 @@ jobs:
|
||||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.40.0
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.40.0
|
||||||
make lint
|
make lint
|
||||||
|
|
||||||
test_1_14:
|
|
||||||
working_directory: /go/src/github.com/nspcc-dev/neo-go
|
|
||||||
executor: go1_14
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run: git submodule sync
|
|
||||||
- run: git submodule update --init
|
|
||||||
- gomod
|
|
||||||
- run: go test -v -race ./...
|
|
||||||
test_1_15:
|
test_1_15:
|
||||||
working_directory: /go/src/github.com/nspcc-dev/neo-go
|
working_directory: /go/src/github.com/nspcc-dev/neo-go
|
||||||
executor: go1_15
|
executor: go1_15
|
||||||
|
@ -118,10 +104,6 @@ workflows:
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: v/[0-9]+\.[0-9]+\.[0-9]+/
|
only: v/[0-9]+\.[0-9]+\.[0-9]+/
|
||||||
- test_1_14:
|
|
||||||
filters:
|
|
||||||
tags:
|
|
||||||
only: v/[0-9]+\.[0-9]+\.[0-9]+/
|
|
||||||
- test_1_15:
|
- test_1_15:
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
|
|
2
.github/workflows/run_tests.yml
vendored
2
.github/workflows/run_tests.yml
vendored
|
@ -70,7 +70,7 @@ jobs:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go_versions: [ '1.14', '1.15', '1.16' ]
|
go_versions: [ '1.15', '1.16' ]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
- 1.14.x
|
- 1.15.x
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
install:
|
install:
|
||||||
|
|
|
@ -48,7 +48,7 @@ NeoGo, `:latest` points to the latest release) or build yourself.
|
||||||
|
|
||||||
### Building
|
### Building
|
||||||
|
|
||||||
To build NeoGo you need Go 1.14+ and `make`:
|
To build NeoGo you need Go 1.15+ and `make`:
|
||||||
|
|
||||||
```
|
```
|
||||||
make build
|
make build
|
||||||
|
|
|
@ -48,7 +48,7 @@ The compiler uses Go parser internally and depends on regular Go compiler
|
||||||
presence, so make sure you have it installed and set up. On some distributions
|
presence, so make sure you have it installed and set up. On some distributions
|
||||||
this requires you to set proper `GOROOT` environment variable, like
|
this requires you to set proper `GOROOT` environment variable, like
|
||||||
```
|
```
|
||||||
export GOROOT=/usr/lib64/go/1.14
|
export GOROOT=/usr/lib64/go/1.15
|
||||||
```
|
```
|
||||||
|
|
||||||
### Compiling
|
### Compiling
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -31,4 +31,4 @@ require (
|
||||||
gopkg.in/yaml.v2 v2.4.0
|
gopkg.in/yaml.v2 v2.4.0
|
||||||
)
|
)
|
||||||
|
|
||||||
go 1.14
|
go 1.15
|
||||||
|
|
Loading…
Reference in a new issue