diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 83aefc28b..f788b4962 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -41,6 +41,9 @@ jobs: matrix: part: ["00", "01", "02", "03"] steps: + - uses: actions/setup-go@v2 + with: + go-version: '^1.15.4' - uses: actions/checkout@v2 - uses: technote-space/get-diff-action@v4 with: diff --git a/.github/workflows/e2e-nightly.yml b/.github/workflows/e2e-nightly.yml index 9042d7f4c..99b56af9d 100644 --- a/.github/workflows/e2e-nightly.yml +++ b/.github/workflows/e2e-nightly.yml @@ -16,6 +16,10 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: + - uses: actions/setup-go@v2 + with: + go-version: '^1.15.4' + - uses: actions/checkout@v2 - name: Build diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index fbc7488bd..6ac2077ac 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -13,6 +13,9 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 15 steps: + - uses: actions/setup-go@v2 + with: + go-version: '^1.15.4' - uses: actions/checkout@v2 - uses: technote-space/get-diff-action@v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4aecbab0..6411a2d3f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,10 +14,9 @@ jobs: with: fetch-depth: 0 - - name: Set up Go - uses: actions/setup-go@v2 + - uses: actions/setup-go@v2 with: - go-version: 1.15 + go-version: '^1.15.4' - run: echo https://github.com/tendermint/tendermint/blob/${GITHUB_REF#refs/tags/}/CHANGELOG.md#${GITHUB_REF#refs/tags/} > ../release_notes.md diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 57ec6caf5..54a94ae97 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,6 +23,9 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: + - uses: actions/setup-go@v2 + with: + go-version: '^1.15.4' - uses: actions/checkout@v2 - uses: technote-space/get-diff-action@v4 with: @@ -55,6 +58,9 @@ jobs: needs: Build timeout-minutes: 5 steps: + - uses: actions/setup-go@v2 + with: + go-version: '^1.15.4' - uses: actions/checkout@v2 - uses: technote-space/get-diff-action@v4 with: @@ -87,6 +93,9 @@ jobs: needs: Build timeout-minutes: 5 steps: + - uses: actions/setup-go@v2 + with: + go-version: '^1.15.4' - uses: actions/checkout@v2 - uses: technote-space/get-diff-action@v4 with: @@ -118,6 +127,9 @@ jobs: needs: Build timeout-minutes: 5 steps: + - uses: actions/setup-go@v2 + with: + go-version: '^1.15.4' - uses: actions/checkout@v2 - uses: technote-space/get-diff-action@v4 with: diff --git a/README.md b/README.md index 80cdf0585..efb4f13c4 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Or [Blockchain](), for shor [![version](https://img.shields.io/github/tag/tendermint/tendermint.svg)](https://github.com/tendermint/tendermint/releases/latest) [![API Reference](https://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/68747470733a2f2f676f646f632e6f72672f6769746875622e636f6d2f676f6c616e672f6764646f3f7374617475732e737667)](https://pkg.go.dev/github.com/tendermint/tendermint) -[![Go version](https://img.shields.io/badge/go-1.14-blue.svg)](https://github.com/moovweb/gvm) +[![Go version](https://img.shields.io/badge/go-1.15-blue.svg)](https://github.com/moovweb/gvm) [![Discord chat](https://img.shields.io/discord/669268347736686612.svg)](https://discord.gg/AzefAFd) [![license](https://img.shields.io/github/license/tendermint/tendermint.svg)](https://github.com/tendermint/tendermint/blob/master/LICENSE) [![tendermint/tendermint](https://tokei.rs/b1/github/tendermint/tendermint?category=lines)](https://github.com/tendermint/tendermint) @@ -48,7 +48,7 @@ For examples of the kinds of bugs we're looking for, see [our security policy](S | Requirement | Notes | | ----------- | ---------------- | -| Go version | Go1.14 or higher | +| Go version | Go1.15 or higher | ## Documentation diff --git a/Vagrantfile b/Vagrantfile index 00fd2b310..00e5c55c7 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -33,10 +33,10 @@ Vagrant.configure("2") do |config| usermod -aG docker vagrant # install go - wget -q https://dl.google.com/go/go1.14.linux-amd64.tar.gz - tar -xvf go1.14.linux-amd64.tar.gz + wget -q https://dl.google.com/go/go1.15.linux-amd64.tar.gz + tar -xvf go1.15.linux-amd64.tar.gz mv go /usr/local - rm -f go1.14.linux-amd64.tar.gz + rm -f go1.15.linux-amd64.tar.gz # install nodejs (for docs) curl -sL https://deb.nodesource.com/setup_11.x | bash - diff --git a/go.mod b/go.mod index 04ea2cd65..9460cff30 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/tendermint/tendermint -go 1.14 +go 1.15 require ( github.com/BurntSushi/toml v0.3.1 diff --git a/networks/remote/integration.sh b/networks/remote/integration.sh index 972ae6065..07382ba71 100644 --- a/networks/remote/integration.sh +++ b/networks/remote/integration.sh @@ -10,8 +10,8 @@ sudo apt-get upgrade -y sudo apt-get install -y jq unzip python-pip software-properties-common make # get and unpack golang -curl -O https://dl.google.com/go/go1.14.4.linux-amd64.tar.gz -tar -xvf go1.14.4.linux-amd64.tar.gz +curl -O https://dl.google.com/go/go1.15.4.linux-amd64.tar.gz +tar -xvf go1.15.4.linux-amd64.tar.gz ## move binary and add to path mv go /usr/local diff --git a/test/docker/Dockerfile b/test/docker/Dockerfile index a2d6ea7b0..3628be9f9 100644 --- a/test/docker/Dockerfile +++ b/test/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.14 +FROM golang:1.15 # Grab deps (jq, hexdump, xxd, killall) RUN apt-get update && \