-
Notifications
You must be signed in to change notification settings - Fork 55
[+] bump golangci/golangci-lint-action
from 6 to 7
#690
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
pashagolub
merged 5 commits into
master
from
dependabot/github_actions/golangci/golangci-lint-action-7
Mar 27, 2025
Merged
[+] bump golangci/golangci-lint-action
from 6 to 7
#690
pashagolub
merged 5 commits into
master
from
dependabot/github_actions/golangci/golangci-lint-action-7
Mar 27, 2025
Conversation
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
golangci/golangci-lint-action
from 6 to 7
2aa5956
to
dc2ab97
Compare
Pull Request Test Coverage Report for Build 14088114536Details
💛 - Coveralls |
a447cf6
to
77d6040
Compare
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 7. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@v6...v7) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
77d6040
to
648ebdc
Compare
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.
Pull Request Overview
This PR bumps the golangci-lint-action from version 6 to 7 and includes minor code style updates across various internal modules.
- Modified error messages to use consistent lower-case phrasing.
- Refactored parts of the code for improved clarity, such as using a switch rather than reflection and if/else chains.
- Updated the GitHub Actions workflow to use the new version of golangci-lint-action.
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
internal/sources/resolver.go | Lower-case update for error messages for consistency. |
internal/sinks/prometheus.go | Refactored type handling using a type switch and updated log messages. |
internal/sinks/postgres.go | Refactored schema handling with a switch, added a default case triggering a fatal log. |
internal/reaper/database.go | Updated error message text casing for consistency. |
internal/reaper/cache.go | Updated error message text casing for consistency. |
.golangci.yml | Restructured YAML configuration for linters and exclusions. |
.github/workflows/build.yml | Updated action version reference from v6 to v7. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dependencies
Pull requests that update a dependency file
github_actions
Pull requests that update GitHub Actions code
test
New test case or request
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.
Bumps golangci/golangci-lint-action from 6 to 7.
Release notes
Sourced from golangci/golangci-lint-action's releases.
... (truncated)
Commits
1481404
7.0.0dec74fa
feat: golangci-lint v2 support (#1198)1f07148
build(deps-dev): bump the dev-dependencies group with 3 updates (#1207)9938e10
docs: fix checks permissions for annotations (#1204)b91d580
docs: update annotation permissions (#1203)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)