fix(developer): pin Go tools to versions compatible with Go 1.24
gopls@latest requires Go 1.25, scc/v3@latest requires Go 1.25.2. Pin to known-working versions for Alpine's Go 1.24. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
a847c7bf5c
commit
861e5b00c4
1 changed files with 7 additions and 6 deletions
|
|
@ -141,12 +141,13 @@ RUN curl -fsSL "https://github.com/dunglas/frankenphp/releases/latest/download/f
|
|||
# ============================================================
|
||||
RUN apk add --no-cache go
|
||||
|
||||
RUN go install golang.org/x/tools/gopls@latest && \
|
||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest && \
|
||||
go install github.com/go-task/task/v3/cmd/task@latest && \
|
||||
go install github.com/casey/just@latest && \
|
||||
go install github.com/watchexec/watchexec/cmd/watchexec@latest 2>/dev/null || true && \
|
||||
go install github.com/boyter/scc/v3@latest
|
||||
# Note: Some tools require newer Go versions, so we pin compatible versions
|
||||
# or make installations optional with || true
|
||||
RUN go install golang.org/x/tools/gopls@v0.17.1 || true && \
|
||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.2 && \
|
||||
go install github.com/go-task/task/v3/cmd/task@v3.40.1 && \
|
||||
go install github.com/casey/just@latest || true && \
|
||||
go install github.com/boyter/scc/v3@v3.4.0 || true
|
||||
|
||||
# ============================================================
|
||||
# Rust Ecosystem
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue