Skip to content
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

chore(deps): bump golangci-lint to v1.49.0 #9639

Merged
merged 6 commits into from Sep 25, 2022

Conversation

blkperl
Copy link
Contributor

@blkperl blkperl commented Sep 21, 2022

Signed-off-by: William Van Hevelingen william.vanhevelingen@acquia.com

This resolves the following error on golang 1.19

/Users/william.vanhevelingen/go/bin/golangci-lint run --fix --verbose
panic: load embedded ruleguard rules: rules/rules.go:13: can't load fmt

goroutine 1 [running]:
github.com/go-critic/go-critic/checkers.init.22()
	github.com/go-critic/go-critic@v0.6.3/checkers/embedded_rules.go:47 +0x4b4
make: *** [lint] Error 2

Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>
- typecheck
- unparam
- unused
- varcheck
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These three removed linters have been replaced by unused which is enabled

.golangci.yml Show resolved Hide resolved
Comment on lines +63 to +65
exclude-rules:
- path: server/artifacts/artifact_server_test.go
text: "response body must be closed"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was a false positive but let me know if there is an easy way to fix.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it flaky or consistent?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consistent

blkperl and others added 3 commits September 20, 2022 20:12
Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>
Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>
@blkperl blkperl added the type/dependencies PRs and issues specific to updating dependencies label Sep 21, 2022
Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>
Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>
@terrytangyuan terrytangyuan merged commit 67fc0ac into argoproj:master Sep 25, 2022
chenyangxueHDU pushed a commit to chenyangxueHDU/argo that referenced this pull request Sep 29, 2022
* chore(deps): bump golangci-lint to v1.49.0

Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>

* fix: lint newlines

Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>

* fix: remove extra newline

Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>

* fix: Address feedback

Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>

* fix: typo

Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>

Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>
Signed-off-by: yangxue.chen <chenyangxuehdu@126.com>
juchaosong pushed a commit to juchaosong/argo-workflows that referenced this pull request Nov 3, 2022
* chore(deps): bump golangci-lint to v1.49.0

Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>

* fix: lint newlines

Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>

* fix: remove extra newline

Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>

* fix: Address feedback

Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>

* fix: typo

Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>

Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>
Signed-off-by: juchao <juchao@coscene.io>
@agilgur5 agilgur5 added go Pull requests that update Go dependencies area/build Build or GithubAction/CI issues labels Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build Build or GithubAction/CI issues go Pull requests that update Go dependencies type/dependencies PRs and issues specific to updating dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants