-
Notifications
You must be signed in to change notification settings - Fork 108
chore(deps): update golangci/golangci-lint-action action to v9 #1551
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
base: main
Are you sure you want to change the base?
Conversation
d41a024 to
2b01443
Compare
Code Review: Update golangci-lint-action to v9Thank you for the automated dependency update from Renovate. I've reviewed this PR and have the following feedback: Critical Issue: Missing Matrix Configuration ❌The workflow file references - name: Linting
if: matrix.lint
uses: golangci/golangci-lint-action@v8However, there is no matrix strategy defined in the build job. This means:
RecommendationsBefore merging this PR, please:
Action Version Upgrade (v8 → v9)The golangci-lint-action v9 upgrade itself appears safe as a minor version bump. However, it provides value only if the linting step is actually executed. Additional Observations
Suggested Actions
Current Status: |
8648b33 to
2cc3fd9
Compare
PR Review: Update golangci-lint-action to v9SummaryThis PR updates the 🚨 Critical Issues1. Severely Outdated golangci-lint VersionLocation: The workflow is currently using
Recommendation: Update to the latest golangci-lint version (currently v1.61+). Change line 26 from: version: v1.41to: version: latest # or specify v1.61.0 or newer2. Configuration File Needs UpdateLocation: The linter configuration uses several deprecated linters:
These will cause warnings or errors with modern golangci-lint versions. 3. Workflow Matrix Strategy MissingLocation: The workflow references Recommendation: Either:
✅ Positive Aspects
🔍 Testing RecommendationsBefore merging, please:
📝 Suggested Action Plan
Security ConsiderationsUsing such an outdated linting version (v1.41 from 2021) means you're missing 3+ years of security-focused linter improvements. The Verdict✅ Approve with strong recommendation for immediate follow-up work The action version update itself is fine, but the underlying golangci-lint version issue needs urgent attention. This PR can be merged, but should be immediately followed by a PR to update the actual linter version and configuration. |
38b9480 to
84bf9f2
Compare
e33c567 to
ad06d75
Compare
ad06d75 to
8fc68e6
Compare
This PR contains the following updates:
v8->v9Release Notes
golangci/golangci-lint-action (golangci/golangci-lint-action)
v9Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.