fix golangci-lint version in pipelines
This commit is contained in:
parent
f432cf79e2
commit
715995843c
|
|
@ -27,11 +27,9 @@ jobs:
|
||||||
env:
|
env:
|
||||||
# renovate: datasource=github-tags depName=golangci/golangci-lint
|
# renovate: datasource=github-tags depName=golangci/golangci-lint
|
||||||
GOLANGCI_LINT_VERSION: v1.61.0
|
GOLANGCI_LINT_VERSION: v1.61.0
|
||||||
# renovate: datasource=github-tags depName=codeclimate/test-reporter
|
|
||||||
CODECLIMATE_VERSION: v1.0.1
|
|
||||||
run: |
|
run: |
|
||||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
|
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#v}-linux-amd64 > ./cc-test-reporter
|
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
||||||
chmod +x ./cc-test-reporter
|
chmod +x ./cc-test-reporter
|
||||||
|
|
||||||
- name: Verify Code Generation
|
- name: Verify Code Generation
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,8 @@ jobs:
|
||||||
|
|
||||||
- name: Get dependencies
|
- name: Get dependencies
|
||||||
env:
|
env:
|
||||||
GOLANGCI_LINT_VERSION: v1.55.2
|
# renovate: datasource=github-tags depName=golangci/golangci-lint
|
||||||
|
GOLANGCI_LINT_VERSION: v1.61.0
|
||||||
run: |
|
run: |
|
||||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
|
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-latest-linux-amd64 > ./cc-test-reporter
|
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue