From 6df07cab26b8f238ece3c5888cefa22102a9e459 Mon Sep 17 00:00:00 2001 From: Josh Humphries <2035234+jhump@users.noreply.github.com> Date: Thu, 8 Jan 2026 09:33:25 -0500 Subject: [PATCH 1/2] re-enable checklocks --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index faa23b1..8369100 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ generate: $(BIN)/license-header ## Regenerate code and licenses .PHONY: lint lint: $(BIN)/golangci-lint $(BIN)/checklocks ## Lint go vet ./... - #go vet -vettool=$(BIN)/checklocks ./... + go vet -vettool=$(BIN)/checklocks ./... golangci-lint run .PHONY: lintfix @@ -75,4 +75,4 @@ $(BIN)/golangci-lint: Makefile $(BIN)/checklocks: Makefile @mkdir -p $(@D) - go install gvisor.dev/gvisor/tools/checklocks/cmd/checklocks@v0.0.0-20250313000854-906fb319cc3a + go install gvisor.dev/gvisor/tools/checklocks/cmd/checklocks@v0.0.0-20260108080055-5aa19429c3bd From fc6aec23440aca733c8fb8ea207edccd3622cdaa Mon Sep 17 00:00:00 2001 From: Josh Humphries <2035234+jhump@users.noreply.github.com> Date: Thu, 8 Jan 2026 10:32:14 -0500 Subject: [PATCH 2/2] use version of checklocks that works with Go 1.24 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8369100..b2c2e3b 100644 --- a/Makefile +++ b/Makefile @@ -75,4 +75,4 @@ $(BIN)/golangci-lint: Makefile $(BIN)/checklocks: Makefile @mkdir -p $(@D) - go install gvisor.dev/gvisor/tools/checklocks/cmd/checklocks@v0.0.0-20260108080055-5aa19429c3bd + go install gvisor.dev/gvisor/tools/checklocks/cmd/checklocks@v0.0.0-20260108061738-2f5377660b6f