Skip to content

Commit 8529d46

Browse files
gwleclercclaude
andcommitted
build: modernize the Caddy install target
go get for installing binaries was removed in Go 1.17, so 'make start-caddy' could not install Caddy on Go 1.26. Use 'go install …/caddy@$(CADDYVERSION)' (v2.8.4), consistent with the venom/golangci-lint pinned installs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 80f16aa commit 8529d46

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ GOCOVMERGE=$(GOPATH)/bin/gocovmerge
4848
$(GOCOVMERGE):
4949
go install github.com/wadey/gocovmerge@latest
5050

51+
CADDYVERSION:=v2.8.4
5152
CADDY=$(GOPATH)/bin/caddy
5253
$(CADDY):
53-
cd /tmp; go get github.com/caddyserver/caddy/v2/...
54+
go install github.com/caddyserver/caddy/v2/cmd/caddy@$(CADDYVERSION)
5455

5556
# All generated/runtime artifacts live under build/ so the repository root stays clean.
5657
BUILD_DIR=build

0 commit comments

Comments
 (0)