Skip to content

[+] 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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 24, 2025

Bumps golangci/golangci-lint-action from 6 to 7.

Release notes

Sourced from golangci/golangci-lint-action's releases.

v7.0.0

What's Changed

Changes

Documentation

Dependencies

New Contributors

Full Changelog: golangci/golangci-lint-action@v6.5.2...v7.0.0

v6.5.2

What's Changed

Changes

Dependencies

Full Changelog: golangci/golangci-lint-action@v6.5.1...v6.5.2

v6.5.1

What's Changed

Changes

Documentation

Dependencies

... (truncated)

Commits

Dependabot compatibility score

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Mar 24, 2025
@pashagolub pashagolub changed the title Bump golangci/golangci-lint-action from 6 to 7 [+] bump golangci/golangci-lint-action from 6 to 7 Mar 25, 2025
@pashagolub pashagolub self-assigned this Mar 25, 2025
@pashagolub pashagolub added the test New test case or request label Mar 25, 2025
@pashagolub pashagolub force-pushed the dependabot/github_actions/golangci/golangci-lint-action-7 branch from 2aa5956 to dc2ab97 Compare March 26, 2025 14:56
@coveralls
Copy link

coveralls commented Mar 26, 2025

Pull Request Test Coverage Report for Build 14088114536

Details

  • 0 of 22 (0.0%) changed or added relevant lines in 5 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage remained the same at 32.363%

Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/reaper/cache.go 0 1 0.0%
internal/sources/resolver.go 0 3 0.0%
internal/sinks/postgres.go 0 5 0.0%
internal/reaper/database.go 0 6 0.0%
internal/sinks/prometheus.go 0 7 0.0%
Files with Coverage Reduction New Missed Lines %
internal/sinks/prometheus.go 1 17.87%
Totals Coverage Status
Change from base Build 14088007172: 0.0%
Covered Lines: 1545
Relevant Lines: 4774

💛 - Coveralls

@pashagolub pashagolub force-pushed the dependabot/github_actions/golangci/golangci-lint-action-7 branch from a447cf6 to 77d6040 Compare March 26, 2025 15:06
dependabot bot and others added 5 commits March 26, 2025 17:09
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>
@pashagolub pashagolub force-pushed the dependabot/github_actions/golangci/golangci-lint-action-7 branch from 77d6040 to 648ebdc Compare March 26, 2025 16:09
@pashagolub pashagolub requested a review from Copilot March 27, 2025 17:31
Copy link

@Copilot Copilot AI left a 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.

@pashagolub pashagolub merged commit 549dce0 into master Mar 27, 2025
8 checks passed
@pashagolub pashagolub deleted the dependabot/github_actions/golangci/golangci-lint-action-7 branch March 27, 2025 17:33
@cybertec-postgresql cybertec-postgresql deleted a comment from Copilot AI Mar 27, 2025
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants