From 42bdb8b2647b8503854f0e087aed417b8b293b70 Mon Sep 17 00:00:00 2001 From: zypps <1657022+zypps@users.noreply.github.com> Date: Fri, 1 May 2026 14:23:14 -0400 Subject: [PATCH] Update golangci-lint install URL * Resolves SHA256 Verify check failing by updating install URL to recommended URL in User Guide. [Reference](https://github.com/golangci/golangci-lint/discussions/6537) --- 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