build: add matrix strategy with go version (#1845)

pull/1846/head
Sasha Melentyev 3 years ago committed by GitHub
parent d679466a7b
commit 997b6a9f79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .github/workflows/go.yml

@ -11,6 +11,9 @@ on:
jobs:
build:
strategy:
matrix:
go: [ 1.16, 1.17 ]
name: build & test
runs-on: ubuntu-latest
services:
@ -42,7 +45,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: ${{ matrix.go }}
- name: Build
run: go build ./...

Loading…
Cancel
Save