diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index a512f2c26..e610380e9 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -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` diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d230d3d07..83fa87b8e 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 diff --git a/docs/source.md b/docs/source.md index 951731f8f..fc90ef94f 100644 --- a/docs/source.md +++ b/docs/source.md @@ -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).