-
Notifications
You must be signed in to change notification settings - Fork 6.4k
fix: GOLANGCI_LINT_VERSION #20264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: GOLANGCI_LINT_VERSION #20264
Conversation
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
Signed-off-by: David Coppa <dcoppa@cocus.com>
….0 (argoproj#19524) Bumps [SonarSource/sonarqube-scan-action](https://github.com/sonarsource/sonarqube-scan-action) from 2.3.0 to 3.0.0. - [Release notes](https://github.com/sonarsource/sonarqube-scan-action/releases) - [Commits](SonarSource/sonarqube-scan-action@aecaf43...0c0f395) --- updated-dependencies: - dependency-name: SonarSource/sonarqube-scan-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: David Coppa <dcoppa@cocus.com>
@@ -2,6 +2,6 @@ | |||
set -eux -o pipefail | |||
|
|||
# renovate: datasource=go packageName=github.com/golangci/golangci-lint | |||
GOLANGCI_LINT_VERSION=1.61.0 | |||
GOLANGCI_LINT_VERSION=v1.61.0 | |||
|
|||
GO111MODULE=on go install "github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was my fault :
The v
should be outside the variable else renovate
will either fail updating or won't stop removing it.
- GOLANGCI_LINT_VERSION=v1.61.0
+ GOLANGCI_LINT_VERSION=1.61.0
- GO111MODULE=on go install "github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION}"
+ GO111MODULE=on go install "github.com/golangci/golangci-lint/cmd/golangci-lint@v${GOLANGCI_LINT_VERSION}"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, "v" should be outside.
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for fixing my mistake
Signed-off-by: dcoppa <dcoppa@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #20264 +/- ##
==========================================
- Coverage 55.94% 55.92% -0.03%
==========================================
Files 322 322
Lines 44673 44673
==========================================
- Hits 24994 24982 -12
- Misses 17088 17099 +11
- Partials 2591 2592 +1 ☔ View full report in Codecov by Sentry. |
* Fix GOLANGCI_LINT_VERSION Signed-off-by: David Coppa <dcoppa@cocus.com> * chore(deps): bump SonarSource/sonarqube-scan-action from 2.3.0 to 3.0.0 (argoproj#19524) Bumps [SonarSource/sonarqube-scan-action](https://github.com/sonarsource/sonarqube-scan-action) from 2.3.0 to 3.0.0. - [Release notes](https://github.com/sonarsource/sonarqube-scan-action/releases) - [Commits](SonarSource/sonarqube-scan-action@aecaf43...0c0f395) --- updated-dependencies: - dependency-name: SonarSource/sonarqube-scan-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: David Coppa <dcoppa@cocus.com> * Update install-lint-tools.sh Signed-off-by: dcoppa <dcoppa@gmail.com> --------- Signed-off-by: David Coppa <dcoppa@cocus.com> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dcoppa <dcoppa@gmail.com> Co-authored-by: David Coppa <dcoppa@cocus.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: alnoor <alihamzanoor99@gmail.com>
* Fix GOLANGCI_LINT_VERSION Signed-off-by: David Coppa <dcoppa@cocus.com> * chore(deps): bump SonarSource/sonarqube-scan-action from 2.3.0 to 3.0.0 (argoproj#19524) Bumps [SonarSource/sonarqube-scan-action](https://github.com/sonarsource/sonarqube-scan-action) from 2.3.0 to 3.0.0. - [Release notes](https://github.com/sonarsource/sonarqube-scan-action/releases) - [Commits](SonarSource/sonarqube-scan-action@aecaf43...0c0f395) --- updated-dependencies: - dependency-name: SonarSource/sonarqube-scan-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: David Coppa <dcoppa@cocus.com> * Update install-lint-tools.sh Signed-off-by: dcoppa <dcoppa@gmail.com> --------- Signed-off-by: David Coppa <dcoppa@cocus.com> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dcoppa <dcoppa@gmail.com> Co-authored-by: David Coppa <dcoppa@cocus.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: austin5219 <3936059+austin5219@users.noreply.github.com>
* Fix GOLANGCI_LINT_VERSION Signed-off-by: David Coppa <dcoppa@cocus.com> * chore(deps): bump SonarSource/sonarqube-scan-action from 2.3.0 to 3.0.0 (argoproj#19524) Bumps [SonarSource/sonarqube-scan-action](https://github.com/sonarsource/sonarqube-scan-action) from 2.3.0 to 3.0.0. - [Release notes](https://github.com/sonarsource/sonarqube-scan-action/releases) - [Commits](SonarSource/sonarqube-scan-action@aecaf43...0c0f395) --- updated-dependencies: - dependency-name: SonarSource/sonarqube-scan-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: David Coppa <dcoppa@cocus.com> * Update install-lint-tools.sh Signed-off-by: dcoppa <dcoppa@gmail.com> --------- Signed-off-by: David Coppa <dcoppa@cocus.com> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dcoppa <dcoppa@gmail.com> Co-authored-by: David Coppa <dcoppa@cocus.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Adrian Aneci <aneci@adobe.com>
Without this, I get an error while building the master branch of argo-cd:
go: downloading gopkg.in/ini.v1 v1.67.0
go: downloading github.com/magiconair/properties v1.8.7
go: downloading github.com/pelletier/go-toml/v2 v2.0.6
go: downloading golang.org/x/text v0.7.0
++ uname -m
++ uname -s
++ dirname ./install.sh
go: github.com/golangci/golangci-lint/cmd/golangci-lint@1.61.0: github.com/golangci/golangci-lint/cmd/golangci-lint@1.61.0: invalid version: unknown revision 1.61.0
building at STEP "RUN ./install.sh helm && ./install.sh kustomize && ./install.sh codegen-tools && ./install.sh codegen-go-tools && ./install.sh lint-tools && go install github.com/mattn/goreman@latest && go install github.com/kisielk/godepgraph@latest && go install github.com/jstemmer/go-junit-report@latest && rm -rf /tmp/dl && rm -rf /tmp/helm && rm -rf /tmp/ks_*": while running runtime: exit status 1
make: *** [Makefile:276: test-tools-image] Error 1