strip v off of version for generating the correct download url

This commit is contained in:
Jan Larwig 2024-06-23 19:54:01 +02:00 committed by GitHub
parent 72ee8c8146
commit 70057d3056
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,10 +32,10 @@ jobs:
# renovate: datasource=github-tags depName=golangci/golangci-lint
GOLANGCI_LINT_VERSION: v1.55.2
# renovate: datasource=github-tags depName=codeclimate/test-reporter
CODECLIMATE_VERSION: 1.0.1
CODECLIMATE_VERSION: v1.0.1
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-${CODECLIMATE_VERSION}-linux-amd64 > ./cc-test-reporter
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-${CODECLIMATE_VERSION#v}-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
- name: Verify Code Generation