Clarify our Go version requirements
* We are trying to keep the binary building on Go 1.13 to support building the project on Ubuntu 20.04 LTS * Go 1.14+ is required to run the test suite * We build our releases on Go 1.15 This adds a CI check that verifies that the project compiles on 1.13
This commit is contained in:
parent
987e95f0c8
commit
176dd29c05
3 changed files with 18 additions and 3 deletions
3
.github/CONTRIBUTING.md
vendored
3
.github/CONTRIBUTING.md
vendored
|
|
@ -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`
|
||||
|
||||
|
|
|
|||
15
.github/workflows/go.yml
vendored
15
.github/workflows/go.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue