From 3882e0e63696b91fab98fae3f303d1f514fca740 Mon Sep 17 00:00:00 2001 From: Gennadij Ivanov Date: Mon, 4 May 2026 13:23:04 +0200 Subject: [PATCH] Fix: changed the golangci-lint script url --- src/go/devcontainer-feature.json | 2 +- src/go/install.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/go/devcontainer-feature.json b/src/go/devcontainer-feature.json index 8872d6374..b61e93605 100644 --- a/src/go/devcontainer-feature.json +++ b/src/go/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "go", - "version": "1.3.3", + "version": "1.3.4", "name": "Go", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/go", "description": "Installs Go and common Go utilities. Auto-detects latest version and installs needed dependencies.", diff --git a/src/go/install.sh b/src/go/install.sh index 4286c08a8..db0ac7977 100755 --- a/src/go/install.sh +++ b/src/go/install.sh @@ -325,11 +325,11 @@ if [ "${INSTALL_GO_TOOLS}" = "true" ]; then # Install golangci-lint from precompiled binares if [ "$GOLANGCILINT_VERSION" = "latest" ] || [ "$GOLANGCILINT_VERSION" = "" ]; then echo "Installing golangci-lint latest..." - curl -fsSL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \ + curl -fsSL https://golangci-lint.run/install.sh | \ sh -s -- -b "${TARGET_GOPATH}/bin" else echo "Installing golangci-lint ${GOLANGCILINT_VERSION}..." - curl -fsSL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \ + curl -fsSL https://golangci-lint.run/install.sh | \ sh -s -- -b "${TARGET_GOPATH}/bin" "v${GOLANGCILINT_VERSION}" fi