[+] bump golangci/golangci-lint-action from 6 to 7#690
Merged
pashagolub merged 5 commits intomasterfrom Mar 27, 2025
Merged
Conversation
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.
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. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
14814047.0.0dec74fafeat: golangci-lint v2 support (#1198)1f07148build(deps-dev): bump the dev-dependencies group with 3 updates (#1207)9938e10docs: fix checks permissions for annotations (#1204)b91d580docs: 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)