Skip to content

Commit d685cba

Browse files
committed
update build to run on newer versions of go
1 parent 9cb65a6 commit d685cba

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/go.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,21 @@ on:
55
branches: [ master ]
66
pull_request:
77
branches: [ master ]
8+
workflow_dispatch:
89

910
jobs:
1011

1112
build:
1213
name: Build
1314
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
go: [ '^1.14', 'oldstable', 'stable' ]
1418
steps:
15-
1619
- name: Set up Go 1.x
17-
uses: actions/setup-go@v2
20+
uses: actions/setup-go@v3
1821
with:
19-
go-version: ^1.14
22+
go-version: ${{ matrix.go }}
2023
id: go
2124

2225
- name: Check out code into the Go module directory

0 commit comments

Comments
 (0)