ci: update golangci-lint config and GitHub Action versions#203
ci: update golangci-lint config and GitHub Action versions#203
Conversation
Remove .golangci.yml configuration file as the repository uses default linting rules. Update actions/setup-go from v5 to v6 and golangci/golangci-lint-action from v6 to v9 in the CI workflow to support Go 1.25.0 and ensure correct linting environments. Co-authored-by: arran4 <111667+arran4@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
@jules perfect now let's solve lint. |
Addressed `errcheck`, `ineffassign`, `staticcheck`, and `unused` linter errors flagged by default golangci-lint after removing `.golangci.yml`. This includes ignoring unused returns on `Close()`, removing unused vars/functions, adding explicit ignore directives for dot imports and deprecated code paths, and using `os.ReadFile` over deprecated `io/ioutil`. Co-authored-by: arran4 <111667+arran4@users.noreply.github.com>
Remove .golangci.yml configuration file as the repository uses default linting rules. Update actions/setup-go from v5 to v6 and golangci/golangci-lint-action from v6 to v9 in the CI workflow to support Go 1.25.0 and ensure correct linting environments.
PR created automatically by Jules for task 11189437304072821718 started by @arran4