Skip to content

Commit

Permalink
Add GitHub Actions matrix build
Browse files Browse the repository at this point in the history
with Go 1.17, 1.18 and 1.19
  • Loading branch information
kaiburjack committed Aug 17, 2022
1 parent ce4c507 commit 6ac37ac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.17', '1.18', '1.19' ]
name: Go ${{ matrix.go }} build
steps:
- uses: actions/checkout@master
- uses: reviewdog/action-golangci-lint@v2
with:
fail_on_error: true
go_version: ${{ matrix.go }}
- run: |
gofmt -l . && test -z $(gofmt -l .)
go vet .
Expand Down

0 comments on commit 6ac37ac

Please sign in to comment.