Update module github.com/goreleaser/goreleaser/v2 to v2.3.2 #1013
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: Golangci-lint | |
# golangci-lint is a fast Go linters runner. It runs linters in parallel, | |
# uses caching, supports yaml config, has integrations with all major IDE and | |
# has dozens of linters included. | |
# see: https://github.com/golangci/golangci-lint-action | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref_name != 'main' }} | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "^1.22" # The Go version to download (if necessary) and use. | |
check-latest: true | |
- run: go version | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: latest | |
args: --timeout=5m |