github/workflows: test on multiple golang versions

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2023-03-22 10:17:41 -04:00
parent 9e437eee80
commit d957cf3750
Signed by: vbatts
GPG Key ID: E30EFAA812C6E5ED
1 changed files with 4 additions and 1 deletions

View File

@ -10,13 +10,16 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.17', '1.18', '1.19', '1.20']
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: ${{ matrix.go }}
- name: Build
run: make