chore(deps): update dependency golangci-lint to v1.54.0 #133
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: development | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
pull-requests: read | |
concurrency: | |
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
qa: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Golang | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "^1.20.5" | |
- name: Lint Go files | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.53.3 | |
args: -v --color=always --config=.rules/.golangci.yml ./... | |
- name: Run tests | |
run: go test -v -race -covermode=atomic -coverpkg=./... -coverprofile=coverage.out ./... | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
- name: Build binaries | |
uses: goreleaser/goreleaser-action@v4 | |
with: | |
distribution: goreleaser | |
version: '1.19.2' | |
args: release --debug --snapshot --clean | |
env: | |
GO_VERSION: "1.20.5" |