Skip to content

Commit 19190fd

Browse files
committed
Add min supported and two most recent Go versions to workflow
1 parent 63e0c8b commit 19190fd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ on:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
go: [ '1.18', '1.17', '1.13' ]
1215
steps:
13-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1417
- name: Set up Go
15-
uses: actions/setup-go@v2
18+
uses: actions/setup-go@v3
1619
with:
17-
go-version: 1.17
20+
go-version: ${{ matrix.go }}
1821
- name: Build
1922
run: go build -v ./...
2023
- name: Test

0 commit comments

Comments
 (0)