Skip to content

megalinter-go image with Go 1.24.5 (or even 1.25.0) #6065

@ryancrawcour-idexx

Description

@ryancrawcour-idexx

run: npx mega-linter-runner --flavor go

gives me this -

Processing linters on [2] parallel cores… (can be decreased with variable PARALLEL_PROCESS_NUMBER in case of performance issues)
⚠️ Linted [GO] files with [golangci-lint]: Found 1 non blocking error(s) and 0 non blocking warning(s) - (0.5s)

  • Using [golangci-lint v2.1.6] https://megalinter.io/8.8.0/descriptors/go_golangci_lint
  • MegaLinter key: [GO_GOLANGCI_LINT]
  • Rules config: [/.golangci.yml]
  • Command: [golangci-lint run --fix -c /tmp/lint/.golangci.yml]
    --Error detail:
    level=error msg="Running error: context loading failed: failed to load packages: failed to load packages: failed to load with go/packages: err: exit status 1: stderr: go: go.mod requires go >= 1.24.5 (running go 1.23.9; GOTOOLCHAIN=local)\n"

from what i can tell .....
Using [golangci-lint v2.1.6] https://megalinter.io/8.8.0/descriptors/go_golangci_lint uses Go 1.23.9 .......
but my app is using 1.24.5

so i keep getting this mismatch

can we get a version of the megalinter-go image with an updated Go version

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions