Bumped version to 2.0.2 #91
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: Go Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.18" | |
- name: Download modules | |
run: go mod download | |
- name: gofmt check | |
run: ./gofmt-check.sh | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v2 | |
with: | |
version: latest | |
args: --timeout 5m0s | |
- name: Build executables | |
run: go build ./... | |
- name: Run unit-tests | |
run: go test -v ./... | |