Merge pull request #1596 from cli/go-version-requirements

Clarify our Go version requirements
This commit is contained in:
Nate Smith 2020-08-28 13:14:12 -05:00 committed by GitHub
commit bb65ca0635
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 3 deletions

View file

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

View file

@ -25,3 +25,18 @@ jobs:
- name: Build
run: go build -v ./cmd/gh
build-minimum:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v2
with:
go-version: 1.13
- name: Check out code
uses: actions/checkout@v2
- name: Build
run: go build -v ./cmd/gh

View file

@ -1,10 +1,9 @@
# Installation from source
0. Verify that you have Go 1.15+ installed
0. Verify that you have Go 1.13+ installed
```sh
$ go version
go version go1.14
```
If `go` is not installed, follow instructions on [the Go website](https://golang.org/doc/install).