chore(ci/verify): upgrade golangci action to v5 #104
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.19.x, 1.20.x, 1.21.x, 1.22.x] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 |