Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .agents/agents/agent-analytics/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,18 @@ STEP 0 — Check for and install the Go toolchain + uv if missing:
# Check for Go toolchain — install only what is missing
export PATH="/usr/local/go/bin:$(go env GOPATH 2>/dev/null)/bin:$PATH"
if ! command -v go >/dev/null 2>&1; then
curl -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
echo "installing go 1.26.3"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf /tmp/go.tgz && rm /tmp/go.tgz
export PATH="/usr/local/go/bin:$(go env GOPATH)/bin:$PATH"
fi
if ! command -v task >/dev/null 2>&1; then
go install github.com/go-task/task/v3/cmd/task@latest
echo "installing task"
timeout 600 go install github.com/go-task/task/v3/cmd/task@latest
fi
if ! command -v golangci-lint >/dev/null 2>&1; then
curl -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
echo "installing golangci-lint 2.12.2"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
tar -C /tmp -xzf /tmp/gcl.tgz && sudo mv /tmp/golangci-lint-2.12.2-linux-amd64/golangci-lint /usr/local/bin/ && rm -rf /tmp/gcl.tgz /tmp/golangci-lint-2.12.2-linux-amd64
fi
# Check for uv — install only if missing (scripts declare deps inline via PEP 723)
Expand Down
6 changes: 4 additions & 2 deletions .agents/agents/ci-optimizer/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ STEP 0 — Check for and install gh + act if missing (no Go needed; CI work is Y
set -e
# gh CLI (for listing/viewing workflow runs) — install only if missing
if ! command -v gh >/dev/null 2>&1; then
curl -sSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
echo "installing gh"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list >/dev/null
sudo apt-get update -qq && sudo apt-get install -y -qq gh
fi
# act (best-effort local workflow validation; .actrc exists). Docker may be unavailable — that's OK.
if ! command -v act >/dev/null 2>&1; then
curl -sSL https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash -s -- -b /usr/local/bin || true
echo "installing act"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash -s -- -b /usr/local/bin || true
fi
command -v gh && (command -v act || echo "act unavailable — will validate via YAML parse")
cd into the cloned devsy repo workspace
Expand Down
9 changes: 6 additions & 3 deletions .agents/agents/cmd-reviewer/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,18 @@ STEP 0 — Check for and install the Go toolchain if missing (Go, task, golangci
# Check for Go toolchain — install only what is missing
export PATH="/usr/local/go/bin:$(go env GOPATH 2>/dev/null)/bin:$PATH"
if ! command -v go >/dev/null 2>&1; then
curl -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
echo "installing go 1.26.3"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf /tmp/go.tgz && rm /tmp/go.tgz
export PATH="/usr/local/go/bin:$(go env GOPATH)/bin:$PATH"
fi
if ! command -v task >/dev/null 2>&1; then
go install github.com/go-task/task/v3/cmd/task@latest
echo "installing task"
timeout 600 go install github.com/go-task/task/v3/cmd/task@latest
fi
if ! command -v golangci-lint >/dev/null 2>&1; then
curl -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
echo "installing golangci-lint 2.12.2"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
tar -C /tmp -xzf /tmp/gcl.tgz && sudo mv /tmp/golangci-lint-2.12.2-linux-amd64/golangci-lint /usr/local/bin/ && rm -rf /tmp/gcl.tgz /tmp/golangci-lint-2.12.2-linux-amd64
fi
go version && task --version && golangci-lint --version
Expand Down
9 changes: 6 additions & 3 deletions .agents/agents/codefactor/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@ STEP 0 — Check for and install the Go toolchain if missing (Go, task, golangci
# Check for Go toolchain — install only what is missing
export PATH="/usr/local/go/bin:$(go env GOPATH 2>/dev/null)/bin:$PATH"
if ! command -v go >/dev/null 2>&1; then
curl -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
echo "installing go 1.26.3"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf /tmp/go.tgz && rm /tmp/go.tgz
export PATH="/usr/local/go/bin:$(go env GOPATH)/bin:$PATH"
fi
if ! command -v task >/dev/null 2>&1; then
go install github.com/go-task/task/v3/cmd/task@latest
echo "installing task"
timeout 600 go install github.com/go-task/task/v3/cmd/task@latest
fi
if ! command -v golangci-lint >/dev/null 2>&1; then
curl -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
echo "installing golangci-lint 2.12.2"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
tar -C /tmp -xzf /tmp/gcl.tgz && sudo mv /tmp/golangci-lint-2.12.2-linux-amd64/golangci-lint /usr/local/bin/ && rm -rf /tmp/gcl.tgz /tmp/golangci-lint-2.12.2-linux-amd64
fi
go version && task --version && golangci-lint --version
Expand Down
9 changes: 6 additions & 3 deletions .agents/agents/devcontainer-spec/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@ STEP 0 — Check for and install the Go toolchain + devcontainer CLI if missing:
# Check for Go toolchain — install only what is missing
export PATH="/usr/local/go/bin:$(go env GOPATH 2>/dev/null)/bin:$PATH"
if ! command -v go >/dev/null 2>&1; then
curl -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
echo "installing go 1.26.3"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf /tmp/go.tgz && rm /tmp/go.tgz
export PATH="/usr/local/go/bin:$(go env GOPATH)/bin:$PATH"
fi
if ! command -v task >/dev/null 2>&1; then
go install github.com/go-task/task/v3/cmd/task@latest
echo "installing task"
timeout 600 go install github.com/go-task/task/v3/cmd/task@latest
fi
if ! command -v golangci-lint >/dev/null 2>&1; then
curl -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
echo "installing golangci-lint 2.12.2"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
tar -C /tmp -xzf /tmp/gcl.tgz && sudo mv /tmp/golangci-lint-2.12.2-linux-amd64/golangci-lint /usr/local/bin/ && rm -rf /tmp/gcl.tgz /tmp/golangci-lint-2.12.2-linux-amd64
fi
# Check for devcontainer CLI — install only if missing
Expand Down
9 changes: 6 additions & 3 deletions .agents/agents/integration-test/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,18 @@ STEP 0 — Check for and install the Go toolchain if missing (Ginkgo comes with
# Check for Go toolchain — install only what is missing
export PATH="/usr/local/go/bin:$(go env GOPATH 2>/dev/null)/bin:$PATH"
if ! command -v go >/dev/null 2>&1; then
curl -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
echo "installing go 1.26.3"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf /tmp/go.tgz && rm /tmp/go.tgz
export PATH="/usr/local/go/bin:$(go env GOPATH)/bin:$PATH"
fi
if ! command -v task >/dev/null 2>&1; then
go install github.com/go-task/task/v3/cmd/task@latest
echo "installing task"
timeout 600 go install github.com/go-task/task/v3/cmd/task@latest
fi
if ! command -v golangci-lint >/dev/null 2>&1; then
curl -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
echo "installing golangci-lint 2.12.2"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
tar -C /tmp -xzf /tmp/gcl.tgz && sudo mv /tmp/golangci-lint-2.12.2-linux-amd64/golangci-lint /usr/local/bin/ && rm -rf /tmp/gcl.tgz /tmp/golangci-lint-2.12.2-linux-amd64
fi
go version && task --version && golangci-lint --version
Expand Down
13 changes: 9 additions & 4 deletions .agents/agents/lint-fixer/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,25 @@ STEP 0 — Check for and install the Go toolchain + Node if missing:
# Check for Go toolchain — install only what is missing
export PATH="/usr/local/go/bin:$(go env GOPATH 2>/dev/null)/bin:$PATH"
if ! command -v go >/dev/null 2>&1; then
curl -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
echo "installing go 1.26.3"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf /tmp/go.tgz && rm /tmp/go.tgz
export PATH="/usr/local/go/bin:$(go env GOPATH)/bin:$PATH"
fi
if ! command -v task >/dev/null 2>&1; then
go install github.com/go-task/task/v3/cmd/task@latest
echo "installing task"
timeout 600 go install github.com/go-task/task/v3/cmd/task@latest
fi
if ! command -v golangci-lint >/dev/null 2>&1; then
curl -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
echo "installing golangci-lint 2.12.2"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
tar -C /tmp -xzf /tmp/gcl.tgz && sudo mv /tmp/golangci-lint-2.12.2-linux-amd64/golangci-lint /usr/local/bin/ && rm -rf /tmp/gcl.tgz /tmp/golangci-lint-2.12.2-linux-amd64
fi
# Check for Node — install only if missing
if ! command -v node >/dev/null 2>&1; then
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - >/dev/null 2>&1 && sudo apt-get install -y -qq nodejs >/dev/null 2>&1 || true
echo "installing node via nodesource setup_24.x"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://deb.nodesource.com/setup_24.x -o /tmp/ns_setup.sh
sudo -E bash /tmp/ns_setup.sh >/dev/null 2>&1 && sudo apt-get install -y -qq nodejs >/dev/null 2>&1 || true
fi
go version && task --version && golangci-lint --version && node --version
cd into the cloned devsy repo workspace and run: task cli:tidy
Expand Down
9 changes: 6 additions & 3 deletions .agents/agents/pkg-container/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@ STEP 0 — Check for and install the Go toolchain if missing (Go, task, golangci
# Check for Go toolchain — install only what is missing
export PATH="/usr/local/go/bin:$(go env GOPATH 2>/dev/null)/bin:$PATH"
if ! command -v go >/dev/null 2>&1; then
curl -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
echo "installing go 1.26.3"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf /tmp/go.tgz && rm /tmp/go.tgz
export PATH="/usr/local/go/bin:$(go env GOPATH)/bin:$PATH"
fi
if ! command -v task >/dev/null 2>&1; then
go install github.com/go-task/task/v3/cmd/task@latest
echo "installing task"
timeout 600 go install github.com/go-task/task/v3/cmd/task@latest
fi
if ! command -v golangci-lint >/dev/null 2>&1; then
curl -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
echo "installing golangci-lint 2.12.2"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
tar -C /tmp -xzf /tmp/gcl.tgz && sudo mv /tmp/golangci-lint-2.12.2-linux-amd64/golangci-lint /usr/local/bin/ && rm -rf /tmp/gcl.tgz /tmp/golangci-lint-2.12.2-linux-amd64
fi
go version && task --version && golangci-lint --version
Expand Down
9 changes: 6 additions & 3 deletions .agents/agents/pkg-core-agent/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@ STEP 0 — Check for and install the Go toolchain if missing (Go, task, golangci
# Check for Go toolchain — install only what is missing
export PATH="/usr/local/go/bin:$(go env GOPATH 2>/dev/null)/bin:$PATH"
if ! command -v go >/dev/null 2>&1; then
curl -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
echo "installing go 1.26.3"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf /tmp/go.tgz && rm /tmp/go.tgz
export PATH="/usr/local/go/bin:$(go env GOPATH)/bin:$PATH"
fi
if ! command -v task >/dev/null 2>&1; then
go install github.com/go-task/task/v3/cmd/task@latest
echo "installing task"
timeout 600 go install github.com/go-task/task/v3/cmd/task@latest
fi
if ! command -v golangci-lint >/dev/null 2>&1; then
curl -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
echo "installing golangci-lint 2.12.2"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
tar -C /tmp -xzf /tmp/gcl.tgz && sudo mv /tmp/golangci-lint-2.12.2-linux-amd64/golangci-lint /usr/local/bin/ && rm -rf /tmp/gcl.tgz /tmp/golangci-lint-2.12.2-linux-amd64
fi
go version && task --version && golangci-lint --version
Expand Down
9 changes: 6 additions & 3 deletions .agents/agents/pkg-ssh-git/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@ STEP 0 — Check for and install the Go toolchain if missing (Go, task, golangci
# Check for Go toolchain — install only what is missing
export PATH="/usr/local/go/bin:$(go env GOPATH 2>/dev/null)/bin:$PATH"
if ! command -v go >/dev/null 2>&1; then
curl -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
echo "installing go 1.26.3"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf /tmp/go.tgz && rm /tmp/go.tgz
export PATH="/usr/local/go/bin:$(go env GOPATH)/bin:$PATH"
fi
if ! command -v task >/dev/null 2>&1; then
go install github.com/go-task/task/v3/cmd/task@latest
echo "installing task"
timeout 600 go install github.com/go-task/task/v3/cmd/task@latest
fi
if ! command -v golangci-lint >/dev/null 2>&1; then
curl -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
echo "installing golangci-lint 2.12.2"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
tar -C /tmp -xzf /tmp/gcl.tgz && sudo mv /tmp/golangci-lint-2.12.2-linux-amd64/golangci-lint /usr/local/bin/ && rm -rf /tmp/gcl.tgz /tmp/golangci-lint-2.12.2-linux-amd64
fi
go version && task --version && golangci-lint --version
Expand Down
9 changes: 6 additions & 3 deletions .agents/agents/pkg-system-platform/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,18 @@ STEP 0 — Check for and install the Go toolchain if missing (Go, task, golangci
# Check for Go toolchain — install only what is missing
export PATH="/usr/local/go/bin:$(go env GOPATH 2>/dev/null)/bin:$PATH"
if ! command -v go >/dev/null 2>&1; then
curl -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
echo "installing go 1.26.3"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf /tmp/go.tgz && rm /tmp/go.tgz
export PATH="/usr/local/go/bin:$(go env GOPATH)/bin:$PATH"
fi
if ! command -v task >/dev/null 2>&1; then
go install github.com/go-task/task/v3/cmd/task@latest
echo "installing task"
timeout 600 go install github.com/go-task/task/v3/cmd/task@latest
fi
if ! command -v golangci-lint >/dev/null 2>&1; then
curl -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
echo "installing golangci-lint 2.12.2"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
tar -C /tmp -xzf /tmp/gcl.tgz && sudo mv /tmp/golangci-lint-2.12.2-linux-amd64/golangci-lint /usr/local/bin/ && rm -rf /tmp/gcl.tgz /tmp/golangci-lint-2.12.2-linux-amd64
fi
go version && task --version && golangci-lint --version
Expand Down
9 changes: 6 additions & 3 deletions .agents/agents/pkg-tunnel-network/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@ STEP 0 — Check for and install the Go toolchain + protoc if missing:
# Check for Go toolchain — install only what is missing
export PATH="/usr/local/go/bin:$(go env GOPATH 2>/dev/null)/bin:$PATH"
if ! command -v go >/dev/null 2>&1; then
curl -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
echo "installing go 1.26.3"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz -o /tmp/go.tgz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf /tmp/go.tgz && rm /tmp/go.tgz
export PATH="/usr/local/go/bin:$(go env GOPATH)/bin:$PATH"
fi
if ! command -v task >/dev/null 2>&1; then
go install github.com/go-task/task/v3/cmd/task@latest
echo "installing task"
timeout 600 go install github.com/go-task/task/v3/cmd/task@latest
fi
if ! command -v golangci-lint >/dev/null 2>&1; then
curl -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
echo "installing golangci-lint 2.12.2"
curl --retry 3 --retry-delay 5 --connect-timeout 30 --max-time 300 -sSL https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz -o /tmp/gcl.tgz
tar -C /tmp -xzf /tmp/gcl.tgz && sudo mv /tmp/golangci-lint-2.12.2-linux-amd64/golangci-lint /usr/local/bin/ && rm -rf /tmp/gcl.tgz /tmp/golangci-lint-2.12.2-linux-amd64
fi
# Check for protoc — install only if missing
Expand Down
Loading
Loading