diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4c54b9d5..e7f9f1c1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,11 +9,19 @@ jobs: uses: actions/setup-go@v3 with: go-version: 1.19.x - + + - name: Install Protoc + uses: arduino/setup-protoc@v2 + + - name: Installing protoc-gen-go + run: | + go install google.golang.org/protobuf/cmd/protoc-gen-go@latest + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest + - name: Set up Nodejs uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 16 - name: Set up yarn run: npm install --global yarn diff --git a/Makefile b/Makefile index fdad76b2..1d742718 100644 --- a/Makefile +++ b/Makefile @@ -35,9 +35,6 @@ build-admin: yarn && yarn build @cp admin/dist/bundle.js ./internal/admin/handlers/web/assets/js/ -build-bin: - @go build -ldflags="$(LDFLAGS)" -o ./bin/dagu . - test: @go test -v ./...