X Tutup
Skip to content

Commit eb78ac0

Browse files
committed
Require Go 1.16+
1 parent af2aecd commit eb78ac0

File tree

6 files changed

+9
-27
lines changed

6 files changed

+9
-27
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ Please avoid:
2323
## Building the project
2424

2525
Prerequisites:
26-
- Go 1.13+ for building the binary
27-
- Go 1.15+ for running the test suite
26+
- Go 1.16+
2827

2928
Build with:
3029
* Unix-like systems: `make`

.github/workflows/go.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010

1111
steps:
12-
- name: Set up Go 1.15
12+
- name: Set up Go 1.16
1313
uses: actions/setup-go@v2
1414
with:
15-
go-version: 1.15
15+
go-version: 1.16
1616

1717
- name: Check out code
1818
uses: actions/checkout@v2
@@ -25,20 +25,3 @@ jobs:
2525

2626
- name: Build
2727
run: go build -v ./cmd/gh
28-
29-
build-minimum:
30-
runs-on: ubuntu-latest
31-
32-
steps:
33-
- name: Set up Go 1.13
34-
uses: actions/setup-go@v2
35-
with:
36-
go-version: 1.13
37-
38-
- name: Check out code
39-
uses: actions/checkout@v2
40-
41-
- name: Build
42-
env:
43-
CGO_ENABLED: '0'
44-
run: go build -v ./cmd/gh

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- name: Set up Go 1.15
19+
- name: Set up Go 1.16
2020
uses: actions/setup-go@v2
2121
with:
22-
go-version: 1.15
22+
go-version: 1.16
2323

2424
- name: Check out code
2525
uses: actions/checkout@v2

.github/workflows/releases.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v2
14-
- name: Set up Go 1.15
14+
- name: Set up Go 1.16
1515
uses: actions/setup-go@v2
1616
with:
17-
go-version: 1.15
17+
go-version: 1.16
1818
- name: Generate changelog
1919
run: |
2020
echo "GORELEASER_CURRENT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

docs/source.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Installation from source
22

3-
0. Verify that you have Go 1.13+ installed
3+
0. Verify that you have Go 1.16+ installed
44

55
```sh
66
$ go version

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/cli/cli
22

3-
go 1.13
3+
go 1.16
44

55
require (
66
github.com/AlecAivazis/survey/v2 v2.2.14

0 commit comments

Comments
 (0)
X Tutup