Build using multiple go versions

This commit is contained in:
Torjus Håkestad 2022-01-03 20:12:10 +01:00
parent 909435ff14
commit 9631e0103d

View File

@ -1,9 +1,15 @@
pipeline:
build:
image: golang
image: golang:${GO_VERSION}
commands:
- go build main.go
- go test -v ./...
when:
branch: master
event: [push, pull_request, tag, deployment]
matrix:
GO_VERSION:
- "1.17"
- "1.16"
- "latest"