From ad5acf4873ecdd4b0b1ed29ebc9053d7b50a74b6 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 25 Aug 2021 14:59:00 +0300 Subject: [PATCH] *: drop Go 1.14 --- .circleci/config.yml | 18 ------------------ .github/workflows/run_tests.yml | 2 +- .travis.yml | 2 +- README.md | 2 +- docs/compiler.md | 2 +- go.mod | 2 +- 6 files changed, 5 insertions(+), 23 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 586ea9719..caf6dd56d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,11 +3,6 @@ orbs: codecov: codecov/codecov@1.0.5 executors: - go1_14: - docker: - - image: circleci/golang:1.14 - environment: - GO111MODULE: "on" go1_15: docker: - 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 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: working_directory: /go/src/github.com/nspcc-dev/neo-go executor: go1_15 @@ -118,10 +104,6 @@ workflows: filters: tags: only: v/[0-9]+\.[0-9]+\.[0-9]+/ - - test_1_14: - filters: - tags: - only: v/[0-9]+\.[0-9]+\.[0-9]+/ - test_1_15: filters: tags: diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 43d4587e3..ea83072fc 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -70,7 +70,7 @@ jobs: runs-on: ubuntu-18.04 strategy: matrix: - go_versions: [ '1.14', '1.15', '1.16' ] + go_versions: [ '1.15', '1.16' ] fail-fast: false steps: - uses: actions/checkout@v2 diff --git a/.travis.yml b/.travis.yml index 77e2b66aa..a4fab5637 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: go go: - - 1.14.x + - 1.15.x env: - GO111MODULE=on install: diff --git a/README.md b/README.md index 8c45e8032..f91dd9983 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ NeoGo, `:latest` points to the latest release) or build yourself. ### Building -To build NeoGo you need Go 1.14+ and `make`: +To build NeoGo you need Go 1.15+ and `make`: ``` make build diff --git a/docs/compiler.md b/docs/compiler.md index 5a10d927e..9dda92d87 100644 --- a/docs/compiler.md +++ b/docs/compiler.md @@ -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 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 diff --git a/go.mod b/go.mod index 76609e8c6..453b6681c 100644 --- a/go.mod +++ b/go.mod @@ -31,4 +31,4 @@ require ( gopkg.in/yaml.v2 v2.4.0 ) -go 1.14 +go 1.15