pipeline: build: 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" - "latest"