chore: deprecate Go 1.17 #82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
go-version: [1.18.x, 1.19.x, 1.20.x, 1.21.x] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- run: go version | |
- run: go get -t -v ./... | |
- run: GOOS=linux go build | |
- run: GOOS=darwin go build | |
- run: GOOS=freebsd go build | |
- run: GOOS=windows go build | |
- run: GOARCH=386 go build |