-
Notifications
You must be signed in to change notification settings - Fork 62
[deps] Update Go version, golangci, and kubernetes deps #418
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
Conversation
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>
Bumps the kubernetes group with 4 updates: [k8s.io/api](https://github.com/kubernetes/api), [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery), [k8s.io/client-go](https://github.com/kubernetes/client-go) and [k8s.io/mount-utils](https://github.com/kubernetes/mount-utils). Updates `k8s.io/api` from 0.32.3 to 0.33.0 - [Commits](kubernetes/api@v0.32.3...v0.33.0) Updates `k8s.io/apimachinery` from 0.32.3 to 0.33.0 - [Commits](kubernetes/apimachinery@v0.32.3...v0.33.0) Updates `k8s.io/client-go` from 0.32.3 to 0.33.0 - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md) - [Commits](kubernetes/client-go@v0.32.3...v0.33.0) Updates `k8s.io/mount-utils` from 0.32.3 to 0.33.0 - [Commits](kubernetes/mount-utils@v0.32.3...v0.33.0) --- updated-dependencies: - dependency-name: k8s.io/api dependency-version: 0.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: kubernetes - dependency-name: k8s.io/apimachinery dependency-version: 0.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: kubernetes - dependency-name: k8s.io/client-go dependency-version: 0.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: kubernetes - dependency-name: k8s.io/mount-utils dependency-version: 0.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: kubernetes ... Signed-off-by: dependabot[bot] <support@github.com>
…-43fceea10a' into update-deps
…ci/golangci-lint-action-7' into update-deps
- Bumped Go version from 1.23.1 to 1.24.0 in go.mod and devbox files. - Updated golangci-lint configuration to v2 format in .golangci.yml to streamline settings and enable additional linters. This update enhances compatibility with the latest Go features and improves linting processes.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #418 +/- ##
==========================================
- Coverage 74.01% 70.69% -3.32%
==========================================
Files 24 24
Lines 2763 2761 -2
==========================================
- Hits 2045 1952 -93
- Misses 586 681 +95
+ Partials 132 128 -4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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 upgrades core development dependencies, updates linting configuration, and refactors minor code details for consistency. Key changes include:
- Upgrading the Go toolchain and Kubernetes dependencies.
- Refactoring the GolangCI-Lint configuration with a newer format and additional linters.
- Minor code style adjustments in error messages and control flow.
Reviewed Changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
tests/e2e/test/pod-pvc-luks-remount/chainsaw-test.yaml | Updated logging text for better readability. |
pkg/linode-volumes/utils_test.go | Removed the Unicode test case, potentially impacting Unicode coverage. |
internal/driver/luks.go | Adjusted error message capitalization to align with Go conventions. |
internal/driver/controllerserver.go | Simplified abnormal flag assignment logic. |
.golangci.yml | Refactored linting configuration with new linters and settings. |
.github/workflows/ci.yml | Upgraded golangci-lint-action to version v7. |
Files not reviewed (2)
- devbox.json: Language not supported
- go.mod: Language not supported
Comments suppressed due to low confidence (1)
pkg/linode-volumes/utils_test.go:31
- Removing the Unicode characters test case might reduce coverage for non-ASCII inputs. Consider re-adding a test to ensure proper handling of Unicode inputs.
name: "Unicode characters",
- usestdlibvars | ||
- varnamelen | ||
- whitespace | ||
- zerologlint | ||
- unused |
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.
A duplicate entry for the 'unused' linter is present in the configuration. Removing one instance could help streamline and avoid redundant linter outputs.
- unused |
Copilot uses AI. Check for mistakes.
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.
Wrong find. No duplicates
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.
LGTM
This PR updates several core components of the development environment and dependencies:
General:
Pull Request Guidelines: