Skip to content

Commit 7008050

Browse files
committed
test
1 parent da08378 commit 7008050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check-golangci-lint-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1717
- name: Install golangci-lint
1818
run: |
19-
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)"
19+
tag_name="$(curl https://api.github.com/repos/golangci/golangci-lint/releases/${{ matrix.golangci-lint-version == 'v1' && 'tags/v1.64.8' || 'latest' }} | jq -r .tag_name)"
2020
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' }}
2121
echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"
2222
- name: Validate golangci-lint config

0 commit comments

Comments
 (0)