Update build.yml

Get go deps in the correct context
This commit is contained in:
kjake 2025-01-19 17:12:54 -05:00
parent bf160b011b
commit abce3d76f8
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ jobs:
prepare: | prepare: |
pkg install -y sudo gmake bash git go golangci-lint curl wget fakeroot libffi rubygem-fpm 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 git config --global --add safe.directory /home/runner/work/cloudflared/cloudflared
run: |
go mod download go mod download
go mod tidy go mod tidy
go install golang.org/x/tools/cmd/goimports@latest go install golang.org/x/tools/cmd/goimports@latest
run: | gmake install-go cloudflared cleanup-go
sudo gmake install-go cloudflared cleanup-go