Skip to content

Commit

Permalink
fix: workflow
Browse files Browse the repository at this point in the history
Signed-off-by: MicroOps <[email protected]>
  • Loading branch information
MicroOps-cn committed Oct 22, 2024
1 parent bb93816 commit e82a49e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,13 @@ common-check_license:
exit 1; \
fi

.PHONY: tidy
tidy:
@echo ">> running go mod tidy"
go mod tidy

.PHONY: idas
idas:
idas:tidy
CGO_ENABLED=0 go build -ldflags="-s -w $(LDFlags)" -o dist/idas ./cmd/idas

.PHONY: common-lint
Expand All @@ -141,7 +146,7 @@ $(GOLANGCI_LINT):
endif

.PHONY: test
test:
test:tidy
go test -tags make_test -cover -race -count=1 ./...

.PHONY: openapi
Expand Down

0 comments on commit e82a49e

Please sign in to comment.