Merge pull request #881 from cli/go1.14

Upgrade to Go 1.14 in CI
This commit is contained in:
Nate Smith 2020-05-08 14:15:04 -05:00 committed by GitHub
commit 27de1fdc36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 deletions

View file

@ -23,7 +23,7 @@ Please avoid:
## Building the project
Prerequisites:
- Go 1.13
- Go 1.14
Build with: `make` or `go build -o bin/gh ./cmd/gh`

View file

@ -9,10 +9,10 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go 1.13
- name: Set up Go 1.14
uses: actions/setup-go@v2-beta
with:
go-version: 1.13
go-version: 1.14
- name: Check out code
uses: actions/checkout@v2

View file

@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
- name: Set up Go 1.14
uses: actions/setup-go@v2-beta
with:
go-version: 1.13
go-version: 1.14
- name: Check out code
uses: actions/checkout@v2
@ -24,7 +24,7 @@ jobs:
go mod verify
go mod download
LINT_VERSION=1.24.0
LINT_VERSION=1.26.0
curl -fsSL https://github.com/golangci/golangci-lint/releases/download/v${LINT_VERSION}/golangci-lint-${LINT_VERSION}-linux-amd64.tar.gz | \
tar xz --strip-components 1 --wildcards \*/golangci-lint
mkdir -p bin && mv golangci-lint bin/

View file

@ -11,10 +11,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go 1.13
- name: Set up Go 1.14
uses: actions/setup-go@v2-beta
with:
go-version: 1.13
go-version: 1.14
- name: Generate changelog
run: |
echo ::set-env name=GORELEASER_CURRENT_TAG::${GITHUB_REF#refs/tags/}

View file

@ -1,9 +1,9 @@
# Installation from source
0. Verify that you have Go 1.13+ installed
0. Verify that you have Go 1.14+ installed
```
$ go version
go version go1.13.7
go version go1.14
```
1. Clone cli into `~/.githubcli`