github.com/tunabay/go-bitarray@v1.3.1/.github/workflows/golangci-lint.yml (about) 1 name: golangci-lint 2 on: 3 push: 4 tags: 5 - v* 6 branches-ignore: 7 - 'doc-*' 8 - 'doc/*' 9 pull_request: 10 branches: 11 - main 12 - master 13 - release 14 jobs: 15 golangci: 16 runs-on: ubuntu-latest 17 steps: 18 - uses: actions/setup-go@v2 19 with: 20 go-version: ^1.17 21 - uses: actions/checkout@v2 22 - name: golangci-lint 23 uses: golangci/golangci-lint-action@v2 24 with: 25 version: v1.42 26 only-new-issues: true 27 skip-go-installation: true 28 args: >- 29 --verbose 30 --issues-exit-code=1 31 --config=.ci/golangci-lint.yml