-
Notifications
You must be signed in to change notification settings - Fork 69
[CI] Golangci-lint update part 3 #345
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
Merged
Merged
Changes from 32 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
1b9b441
Added linters and settings
Andrews2024 dafe116
golangci-lint --fix fixes
Andrews2024 8167db6
Fixed goconst lint errors
Andrews2024 1a3c10e
Temporarily disabled several linters and fixed nolintlint errors
Andrews2024 8f6d9b1
Merge branch 'main' into golint-update
Andrews2024 6b32d93
Addressed comments
Andrews2024 a9ce5f6
Fixed remaining goconst errors
Andrews2024 59f2801
Fixed varnamelen errors
Andrews2024 aa3836c
Fixed prealloc errors
Andrews2024 e5cb40b
Temporarily resolved depgaurd reflect error
Andrews2024 e9e0e26
Merge branch 'main' into golint-update
Andrews2024 0bee7c8
Resolved thelper issues and switched tenv to usetesting
Andrews2024 b333480
Resolved paralleltest errors
Andrews2024 d4f2740
Merge branch 'golint-update' of github.com:linode/linode-cloud-contro…
Andrews2024 0819344
Fixed small errors from merge
Andrews2024 7b71da3
Merge branch 'main' into golint-update
Andrews2024 da91a34
Removed unused thelper configuration
Andrews2024 f93ea50
Merge branch 'golint-update' of github.com:linode/linode-cloud-contro…
Andrews2024 5584cdf
Fixed bug from merge
Andrews2024 382d8d4
Resolved setenv after t.Parallel error
Andrews2024 ffafbc3
Resolved setenv after t.Parallel error
Andrews2024 ab7bb25
Merge branch 'golint-update' of github.com:linode/linode-cloud-contro…
Andrews2024 1bc145b
Revert "Resolved paralleltest errors" due to major testing issues
Andrews2024 ba27a3a
Added annotation for paralleltest and resolved govet errors
Andrews2024 d2c6669
Resolved forcetypeassert errors
Andrews2024 b943dad
Updated GHA to use make lint
Andrews2024 a65c855
Updated GHA to use make lint
Andrews2024 03e2713
Merge branch 'golint-update' of github.com:linode/linode-cloud-contro…
Andrews2024 489b95b
Merge branch 'golint-update' of github.com:linode/linode-cloud-contro…
Andrews2024 b742af5
Merge branch 'golint-update' of github.com:linode/linode-cloud-contro…
Andrews2024 466de62
Enabled docker image for build-test for linting
Andrews2024 604b10d
Preventing refused connection when connecting to docker registry
Andrews2024 61dbc64
WIP: Attempt to resolve staticcheck error with GHA
Andrews2024 900edef
WIP: Try explicit return to satisfy staticcheck
Andrews2024 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
make lintuses latest version of golangci-lint and we wanted to avoid that to prevent broken GHAs when a new release is incompatible with the repo. We left it in workflow file so that dependabot can manage its updates.#226 (comment)
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.
In this particular instance it doesn't seem to be an issue with versioning, but rather some discrepancy between the CLI tool and the GHA. Using v1.64.5 locally doesn't produce the same error as the GHA.