From f1c394ec9e2d65594b86dfbdba5e799b75ab1053 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Mon, 17 Jun 2024 00:49:28 +0700 Subject: [PATCH] Fix CI --- Makefile | 4 +--- go.sum | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 687d0e5..d30b90e 100644 --- a/Makefile +++ b/Makefile @@ -5,11 +5,9 @@ build: chmod +x ./build/proxy-unit build-ci: - go get unit.nginx.org/go@1.32.1 + go get unit.nginx.org/go@latest env GOOS=linux GOARCH=amd64 go build -o ./build/proxy-unit-linux-amd64 -ldflags="-w -s" ./... - env GOOS=linux GOARCH=arm64 go build -o ./build/proxy-unit-linux-arm64 -ldflags="-w -s" ./... cd ./build && tar -zcvf ./proxy-unit-linux-amd64.tar.gz ./proxy-unit-linux-amd64 - cd ./build && tar -zcvf ./proxy-unit-linux-arm64.tar.gz ./proxy-unit-linux-arm64 run: env go run . bun ./test/app.ts diff --git a/go.sum b/go.sum index 6d12b36..e7a2c4d 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,4 @@ +unit.nginx.org/go v0.0.0-20240321134741-48d79170596d h1:BTuWe0M3bnaCJTCRJhaAX4ouyLZrGeI4knaSZ22W88Q= +unit.nginx.org/go v0.0.0-20240321134741-48d79170596d/go.mod h1:rIOZelt2HNxH+Usc1WT2b5OlEDHQwc3IZRxYxiZiKvM= unit.nginx.org/go v0.0.0-20240614141138-35a572c2813e h1:QWYIHrz+Pu+IWP3r7aueoLUxTOzoSJqPJwumac2udBQ= unit.nginx.org/go v0.0.0-20240614141138-35a572c2813e/go.mod h1:rIOZelt2HNxH+Usc1WT2b5OlEDHQwc3IZRxYxiZiKvM=