Refactor go workflows (#1176)

* Refactor go workflows

* Fix
This commit is contained in:
Hidetake Iwata
2024-11-10 10:46:47 +09:00
committed by GitHub
parent 239b93925c
commit df0eae3497
9 changed files with 728 additions and 120 deletions

View File

@@ -1,9 +1,22 @@
.PHONY: all
all:
.PHONY: test
test:
go test -v -race ./pkg/...
.PHONY: integration-test
integration-test:
go test -v -race ./integration_test/...
.PHONY: generate
generate:
$(MAKE) -C tools
./tools/bin/wire ./pkg/di
rm -fr mocks/
./tools/bin/mockery
.PHONY: lint
lint:
$(MAKE) -C tools
./tools/bin/golangci-lint run