-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrade GitHub Actions, include more versions of Go, upgrade linter, and add staticcheck #48
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
|
Auto-approved PR |
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||
PR Code Suggestions ✨
Previous suggestionsSuggestions up to commit a78255e
|
|||||||||||||||
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #48 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 13 13
Lines 322 428 +106
==========================================
+ Hits 322 428 +106 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Persistent suggestions updated to latest commit 931c05d |
PR Type
Enhancement, Tests
Description
Upgrade GitHub Actions to latest versions (setup-go@v6, checkout@v5, codecov-action@v5)
Expand Go version matrix from 1.14-1.19 to 1.14-1.25 for comprehensive testing
Add staticcheck linter job for Go 1.23+ with version 2025.1.1
Upgrade golangci-lint configuration to v2 format with updated linter settings
Fix unused parameter warnings by replacing named parameters with underscore
Update linter nolint comment from deprecated goerr113 to err113
Add Copilot instructions documentation for project architecture and patterns
Diagram Walkthrough
File Walkthrough
ci.yml
Upgrade CI workflows and expand Go version coverage.github/workflows/ci.yml
codecov-action@v1→v5
(1.14-1.25)
golangci/golangci-lint-action@v8
dominikh/staticcheck-action@v1
.golangci.yml
Migrate golangci-lint config to v2 format.golangci.yml
etc.)
inamedparam)
configuration
erkjson_test.go
Fix unused parameter warnings in test fileerkjson/erkjson_test.go
entrywith underscore in 8 TypeCheck functionsignatures
kindwith underscore in 4 KindStringFormethod signatures
KindAsString type
kind_test.go
Fix unused parameter and improve code organizationkind_test.go
kwith underscore in KindStringFor methodsignature
methods
error_export.go
Update deprecated linter commenterror_export.go
kind.go
Fix unused parameter warningkind.go
kindwith underscore in TemplateFuncsFormethod signature
copilot-instructions.md
Add Copilot instructions for project architecture.github/copilot-instructions.md
components