Skip to content

Commit 800457d

Browse files
committed
Require Go 1.13
1 parent 3203baf commit 800457d

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,26 @@ jobs:
44
build:
55
strategy:
66
matrix:
7-
go-version: [~1.11, ^1]
7+
go-version: [~1.13, ^1]
88
os: [ubuntu-latest, macos-latest, windows-latest]
99
runs-on: ${{ matrix.os }}
1010
env:
1111
GO111MODULE: "on"
1212
steps:
13+
- name: Install Go
14+
uses: actions/setup-go@v2
15+
with:
16+
go-version: ${{ matrix.go-version }}
1317

14-
- name: Install Go
15-
uses: actions/setup-go@v2
16-
with:
17-
go-version: ${{ matrix.go-version }}
18+
- name: Checkout code
19+
uses: actions/checkout@v2
1820

19-
- name: Checkout code
20-
uses: actions/checkout@v2
21+
- name: Download Go modules
22+
run: go mod download
2123

22-
- name: Download Go modules
23-
run: go mod download
24+
- name: Build
25+
run: go build -v ./...
2426

25-
- name: Build
26-
run: go build -v ./...
27-
28-
- name: Test
29-
run: go test ./...
30-
if: matrix.platform != 'windows-latest'
27+
- name: Test
28+
run: go test ./...
29+
if: matrix.platform != 'windows-latest'

0 commit comments

Comments
 (0)