Browse Source

bump go version to 1.15 (#5639)

pull/5641/head
Anton Kaliaev 4 years ago
committed by GitHub
parent
commit
7041cae8e1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 33 additions and 12 deletions
  1. +3
    -0
      .github/workflows/coverage.yml
  2. +4
    -0
      .github/workflows/e2e-nightly.yml
  3. +3
    -0
      .github/workflows/e2e.yml
  4. +2
    -3
      .github/workflows/release.yml
  5. +12
    -0
      .github/workflows/tests.yml
  6. +2
    -2
      README.md
  7. +3
    -3
      Vagrantfile
  8. +1
    -1
      go.mod
  9. +2
    -2
      networks/remote/integration.sh
  10. +1
    -1
      test/docker/Dockerfile

+ 3
- 0
.github/workflows/coverage.yml View File

@ -41,6 +41,9 @@ jobs:
matrix: matrix:
part: ["00", "01", "02", "03"] part: ["00", "01", "02", "03"]
steps: steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.15.4'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4 - uses: technote-space/get-diff-action@v4
with: with:


+ 4
- 0
.github/workflows/e2e-nightly.yml View File

@ -16,6 +16,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 60 timeout-minutes: 60
steps: steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.15.4'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Build - name: Build


+ 3
- 0
.github/workflows/e2e.yml View File

@ -13,6 +13,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15 timeout-minutes: 15
steps: steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.15.4'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4 - uses: technote-space/get-diff-action@v4
with: with:


+ 2
- 3
.github/workflows/release.yml View File

@ -14,10 +14,9 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
- uses: actions/setup-go@v2
with: 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 - run: echo https://github.com/tendermint/tendermint/blob/${GITHUB_REF#refs/tags/}/CHANGELOG.md#${GITHUB_REF#refs/tags/} > ../release_notes.md


+ 12
- 0
.github/workflows/tests.yml View File

@ -23,6 +23,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 5 timeout-minutes: 5
steps: steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.15.4'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4 - uses: technote-space/get-diff-action@v4
with: with:
@ -55,6 +58,9 @@ jobs:
needs: Build needs: Build
timeout-minutes: 5 timeout-minutes: 5
steps: steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.15.4'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4 - uses: technote-space/get-diff-action@v4
with: with:
@ -87,6 +93,9 @@ jobs:
needs: Build needs: Build
timeout-minutes: 5 timeout-minutes: 5
steps: steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.15.4'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4 - uses: technote-space/get-diff-action@v4
with: with:
@ -118,6 +127,9 @@ jobs:
needs: Build needs: Build
timeout-minutes: 5 timeout-minutes: 5
steps: steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.15.4'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4 - uses: technote-space/get-diff-action@v4
with: with:


+ 2
- 2
README.md View File

@ -8,7 +8,7 @@ Or [Blockchain](<https://en.wikipedia.org/wiki/Blockchain_(database)>), for shor
[![version](https://img.shields.io/github/tag/tendermint/tendermint.svg)](https://github.com/tendermint/tendermint/releases/latest) [![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) [![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) [![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) [![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) [![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 | | Requirement | Notes |
| ----------- | ---------------- | | ----------- | ---------------- |
| Go version | Go1.14 or higher |
| Go version | Go1.15 or higher |
## Documentation ## Documentation


+ 3
- 3
Vagrantfile View File

@ -33,10 +33,10 @@ Vagrant.configure("2") do |config|
usermod -aG docker vagrant usermod -aG docker vagrant
# install go # 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 mv go /usr/local
rm -f go1.14.linux-amd64.tar.gz
rm -f go1.15.linux-amd64.tar.gz
# install nodejs (for docs) # install nodejs (for docs)
curl -sL https://deb.nodesource.com/setup_11.x | bash - curl -sL https://deb.nodesource.com/setup_11.x | bash -


+ 1
- 1
go.mod View File

@ -1,6 +1,6 @@
module github.com/tendermint/tendermint module github.com/tendermint/tendermint
go 1.14
go 1.15
require ( require (
github.com/BurntSushi/toml v0.3.1 github.com/BurntSushi/toml v0.3.1


+ 2
- 2
networks/remote/integration.sh View File

@ -10,8 +10,8 @@ sudo apt-get upgrade -y
sudo apt-get install -y jq unzip python-pip software-properties-common make sudo apt-get install -y jq unzip python-pip software-properties-common make
# get and unpack golang # 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 ## move binary and add to path
mv go /usr/local mv go /usr/local


+ 1
- 1
test/docker/Dockerfile View File

@ -1,4 +1,4 @@
FROM golang:1.14
FROM golang:1.15
# Grab deps (jq, hexdump, xxd, killall) # Grab deps (jq, hexdump, xxd, killall)
RUN apt-get update && \ RUN apt-get update && \


Loading…
Cancel
Save