Skip to content

build failures due to golang version mismatches #425

Open
@ryepup

Description

@ryepup

Describe the bug

Daily run is failing https://github.com/nginx/nginx-directive-reference/actions/runs/15709569263

go: golang.org/x/tools/gopls@latest: golang.org/x/tools/[email protected] requires go >= 1.24.2 (running go 1.23.10; GOTOOLCHAIN=local)

To reproduce

Steps to reproduce the behavior:

  1. cd tools/devtools
  2. make devtools-image
  3. command fails on installing golang tools
------
 > [golang 2/2] RUN go install github.com/jstemmer/go-junit-report/v2@latest     && go install -v golang.org/x/tools/gopls@latest     && go install github.com/go-delve/delve/cmd/dlv@latest     && curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.62.2:
0.289 go: downloading github.com/jstemmer/go-junit-report v1.0.0
0.295 go: downloading github.com/jstemmer/go-junit-report/v2 v2.1.0
5.[124](https://github.com/nginx/nginx-directive-reference/actions/runs/15709569263/job/44263779275#step:3:125) go: downloading golang.org/x/tools v0.34.0
5.258 go: downloading golang.org/x/tools/gopls v0.19.0
5.722 go: golang.org/x/tools/gopls@latest: golang.org/x/tools/[email protected] requires go >= 1.24.2 (running go 1.23.10; GOTOOLCHAIN=local)

Expected behavior

Command works, making an image that can be used to build the rest of the code.

Your environment

CI pipeline

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions