Add target_commitish
to goreleaser spec
#1218
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: Linters | |
on: | |
push: | |
branches: [ master, v4.0 ] | |
pull_request: | |
branches: [ master, v4.0 ] | |
# This ensures that previous jobs for the PR are canceled when the PR is | |
# updated. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
linters: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.x | |
check-latest: true | |
- uses: ludeeus/action-shellcheck@master | |
- uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.59.1 | |
args: --config ./.golangci.yml --timeout=60m |