Commit edca464b authored by 袁兴强's avatar 袁兴强 Committed by vipwzw

update go version to 1.15

parent a981a6e4
...@@ -8,7 +8,7 @@ jobs: ...@@ -8,7 +8,7 @@ jobs:
- name: Set up Golang - name: Set up Golang
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.14 go-version: 1.15
id: go id: go
- name: checkout - name: checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
...@@ -41,7 +41,7 @@ jobs: ...@@ -41,7 +41,7 @@ jobs:
- name: Set up Golang - name: Set up Golang
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.14 go-version: 1.15
id: go id: go
- name: set go env - name: set go env
run: export PATH=${PATH}:`go env GOPATH`/bin run: export PATH=${PATH}:`go env GOPATH`/bin
...@@ -57,7 +57,7 @@ jobs: ...@@ -57,7 +57,7 @@ jobs:
- name: Set up Golang - name: Set up Golang
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.14 go-version: 1.15
id: go id: go
- name: set go env - name: set go env
run: export PATH=${PATH}:`go env GOPATH`/bin run: export PATH=${PATH}:`go env GOPATH`/bin
...@@ -76,7 +76,7 @@ jobs: ...@@ -76,7 +76,7 @@ jobs:
- name: Set up Golang - name: Set up Golang
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.14 go-version: 1.15
id: go id: go
- name: set go env - name: set go env
run: export PATH=${PATH}:`go env GOPATH`/bin run: export PATH=${PATH}:`go env GOPATH`/bin
...@@ -94,7 +94,7 @@ jobs: ...@@ -94,7 +94,7 @@ jobs:
- name: Set up Golang - name: Set up Golang
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.14 go-version: 1.15
id: go id: go
- name: set go env - name: set go env
run: export PATH=${PATH}:`go env GOPATH`/bin run: export PATH=${PATH}:`go env GOPATH`/bin
...@@ -112,7 +112,7 @@ jobs: ...@@ -112,7 +112,7 @@ jobs:
- name: Set up Golang - name: Set up Golang
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.14 go-version: 1.15
id: go id: go
- name: set go env - name: set go env
run: export PATH=${PATH}:`go env GOPATH`/bin run: export PATH=${PATH}:`go env GOPATH`/bin
...@@ -130,7 +130,7 @@ jobs: ...@@ -130,7 +130,7 @@ jobs:
- name: Set up Golang - name: Set up Golang
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.14 go-version: 1.15
id: go id: go
- name: set go env - name: set go env
run: export PATH=${PATH}:`go env GOPATH`/bin run: export PATH=${PATH}:`go env GOPATH`/bin
...@@ -150,7 +150,7 @@ jobs: ...@@ -150,7 +150,7 @@ jobs:
- name: Set up Golang - name: Set up Golang
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.14 go-version: 1.15
id: go id: go
- name: checkout - name: checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
...@@ -162,6 +162,3 @@ jobs: ...@@ -162,6 +162,3 @@ jobs:
make make
make docker-compose dapp=cross2eth make docker-compose dapp=cross2eth
make docker-compose-down dapp=cross2eth make docker-compose-down dapp=cross2eth
...@@ -9,7 +9,7 @@ matrix: ...@@ -9,7 +9,7 @@ matrix:
include: include:
- name: check_fmt - name: check_fmt
sudo: require sudo: require
go: "1.14.x" go: "1.15.x"
env: env:
- GO111MODULE=on - GO111MODULE=on
install: install:
...@@ -22,7 +22,7 @@ matrix: ...@@ -22,7 +22,7 @@ matrix:
- make linter - make linter
- name: unit-test - name: unit-test
go: "1.14.x" go: "1.15.x"
env: env:
- GO111MODULE=on - GO111MODULE=on
install: skip install: skip
...@@ -31,7 +31,7 @@ matrix: ...@@ -31,7 +31,7 @@ matrix:
- name: coverage - name: coverage
if: branch = master if: branch = master
go: "1.14.x" go: "1.15.x"
env: env:
- GO111MODULE=on - GO111MODULE=on
before_install: before_install:
...@@ -43,7 +43,7 @@ matrix: ...@@ -43,7 +43,7 @@ matrix:
- bash <(curl -s https://codecov.io/bash) - bash <(curl -s https://codecov.io/bash)
- name: auto-test - name: auto-test
go: "1.14.x" go: "1.15.x"
env: env:
- GO111MODULE=on - GO111MODULE=on
install: skip install: skip
...@@ -56,7 +56,7 @@ matrix: ...@@ -56,7 +56,7 @@ matrix:
sudo: required sudo: required
services: services:
- docker - docker
go: "1.14.x" go: "1.15.x"
env: env:
- DOCKER_COMPOSE_VERSION=1.21.2 - DOCKER_COMPOSE_VERSION=1.21.2
- GO111MODULE=on - GO111MODULE=on
......
...@@ -9,7 +9,7 @@ clone_folder: c:\gopath\src\github.com\33cn\plugin ...@@ -9,7 +9,7 @@ clone_folder: c:\gopath\src\github.com\33cn\plugin
environment: environment:
GOPATH: c:\gopath GOPATH: c:\gopath
DEPTESTBYPASS501: 1 DEPTESTBYPASS501: 1
GOVERSION: 1.14.14 GOVERSION: 1.15
GO111MODULE: on GO111MODULE: on
......
module github.com/33cn/plugin module github.com/33cn/plugin
go 1.14 go 1.15
require ( require (
github.com/33cn/chain33 v1.65.3-0.20210915071703-74a642db474f github.com/33cn/chain33 v1.65.3-0.20210915071703-74a642db474f
......
# golang1.14 or latest # golang1.15 or latest
# 1. make help # 1. make help
# 2. make dep # 2. make dep
# 3. make build # 3. make build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment