Skip to content

Commit 42bdb8b

Browse files
committed
Update golangci-lint install URL
* Resolves SHA256 Verify check failing by updating install URL to recommended URL in User Guide. [Reference](golangci/golangci-lint#6537)
1 parent 71c999d commit 42bdb8b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/go/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "go",
3-
"version": "1.3.3",
3+
"version": "1.3.4",
44
"name": "Go",
55
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/go",
66
"description": "Installs Go and common Go utilities. Auto-detects latest version and installs needed dependencies.",

src/go/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,11 @@ if [ "${INSTALL_GO_TOOLS}" = "true" ]; then
325325
# Install golangci-lint from precompiled binares
326326
if [ "$GOLANGCILINT_VERSION" = "latest" ] || [ "$GOLANGCILINT_VERSION" = "" ]; then
327327
echo "Installing golangci-lint latest..."
328-
curl -fsSL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \
328+
curl -fsSL https://golangci-lint.run/install.sh | \
329329
sh -s -- -b "${TARGET_GOPATH}/bin"
330330
else
331331
echo "Installing golangci-lint ${GOLANGCILINT_VERSION}..."
332-
curl -fsSL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \
332+
curl -fsSL https://golangci-lint.run/install.sh | \
333333
sh -s -- -b "${TARGET_GOPATH}/bin" "v${GOLANGCILINT_VERSION}"
334334
fi
335335

0 commit comments

Comments
 (0)