diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 06e0f0f..882d795 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -35,7 +35,7 @@ jobs: run: test -z "$(gofmt -l .)" # Build the Go application - name: Build the application - run: go build -o tigerbeetle_api . + run: go generate ./... && go build -o tigerbeetle_api . build-and-publish: runs-on: ubuntu-latest needs: lint diff --git a/Makefile b/Makefile index 53b4d85..e4c6b50 100644 --- a/Makefile +++ b/Makefile @@ -6,10 +6,11 @@ start: .PHONY: build build: + go generate ./... go build . buildexec: - go build . + make build ./tigerbeetle_api release: release-darwin-arm64 release-darwin-arm64 release-linux-amd64 release-linux-arm64