From 45e3aef1ea959a30a9b48d9441c8e829c153af9b Mon Sep 17 00:00:00 2001 From: kjake Date: Sun, 19 Jan 2025 16:29:47 -0500 Subject: [PATCH] Update build.yml trying to solve `go build` issues --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c1ba6c5..aefb4304 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,9 @@ jobs: prepare: | pkg install -y sudo gmake bash git go golangci-lint curl wget fakeroot libffi rubygem-fpm git config --global --add safe.directory /home/runner/work/cloudflared/cloudflared + go mod download + go mod tidy go install golang.org/x/tools/cmd/goimports@latest + go install github.com/cloudflare/cloudflared/diagnostic/network@latest run: | sudo gmake install-go cloudflared cleanup-go