Conversation
Updates `.github/workflows/ci.yml` to use `actions/setup-go@v6` with `go-version` instead of `go-version-file` to properly parse the `go.mod` configuration. It also upgrades `golangci/golangci-lint-action` to version `v9` to resolve an issue where the older version was using an incompatible Go release. 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. |
Updates `.github/workflows/ci.yml` to revert the usage of `go-version: go.mod` back to `go-version-file: go.mod` since that is the correct parameter name for `actions/setup-go`. Also upgraded remaining references of `actions/setup-go@v5` to `v6` across all jobs in the workflow. Co-authored-by: arran4 <111667+arran4@users.noreply.github.com>
Adds `version: 2` to `.golangci.yml` which is required when running newer versions of `golangci-lint` (like v2.11.4 triggered by `golangci-lint-action@v9`). This resolves the "unsupported version of the configuration" CI error. Co-authored-by: arran4 <111667+arran4@users.noreply.github.com>
Replaces the deprecated `issues.exclude-use-default` field with the modern `linters.exclusions.presets` equivalent (`[]` to explicitly mimic `exclude-use-default: false`) to resolve the "unsupported version of the configuration" and "additional properties 'exclude-use-default' not allowed" schema validation errors from `golangci-lint` v2. Also removes the unsupported `version: 2` top-level key. Co-authored-by: arran4 <111667+arran4@users.noreply.github.com>
|
@jules completely remove the lint config and add stuff only as necessary but it should work fine unconfigured as the defaults are good |
Deletes the `.golangci.yml` file, allowing `golangci-lint` to run with its default configuration instead. This addresses the PR feedback to rely on standard defaults rather than maintaining a custom configuration. Co-authored-by: arran4 <111667+arran4@users.noreply.github.com>
Upgraded
actions/setup-gotov6and fixed thego.modspecification usinggo-version. Also updated thegolangci-lint-actiontov9to ensure compatibility with Go 1.25.0 as specified in thego.modfile.PR created automatically by Jules for task 12794252605579295210 started by @arran4