Update build.yml

trying to solve `go build` issues
This commit is contained in:
kjake 2025-01-19 16:29:47 -05:00
parent 0cff12b1b6
commit 45e3aef1ea
1 changed files with 3 additions and 0 deletions

View File

@ -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