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:
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:


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

@ -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


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

@ -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:


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

@ -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


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

@ -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:


+ 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)
[![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


+ 3
- 3
Vagrantfile View File

@ -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 -


+ 1
- 1
go.mod View File

@ -1,6 +1,6 @@
module github.com/tendermint/tendermint
go 1.14
go 1.15
require (
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
# 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


+ 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)
RUN apt-get update && \


Loading…
Cancel
Save