chore(release): bumped version to v1.10.21 #368
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 | |
on: | |
push: | |
branches: [ master ] | |
tags: | |
- v* | |
pull_request: | |
branches: [ master ] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18 | |
- name: install deps | |
run: | | |
go mod tidy | |
go install golang.org/x/tools/cmd/goimports@latest | |
go install golang.org/x/lint/golint@latest | |
go install github.com/mattn/goveralls@latest | |
- name: static analysis | |
run: | | |
golint -set_exit_status | |
go vet | |
test -z "$(goimports -l .)" | |
- name: Test | |
run: goveralls -service=github | |
env: | |
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} |