We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bba2fad commit da08378Copy full SHA for da08378
.github/workflows/check-golangci-lint-config.yml
@@ -16,7 +16,7 @@ jobs:
16
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17
- name: Install golangci-lint
18
run: |
19
- tag_name="$(curl https://api.github.com/repos/golangci/golangci-lint/releases/latest | jq .tag_name)"
+ tag_name="$(curl https://api.github.com/repos/golangci/golangci-lint/releases/${{ matrix.golangci-lint-version == 'v1' && 'tags/v1.64.8' || 'latest' }} | jq .tag_name)"
20
curl -sSfL "https://raw.githubusercontent.com/golangci/golangci-lint/refs/tags/$tag_name/install.sh" | sh -s -- -b "$(go env GOPATH)/bin" ${{ matrix.golangci-lint-version == 'v1' && 'v1.64.8' || 'latest' }}
21
echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"
22
- name: Validate golangci-lint config
0 commit comments