Skip to content

Commit

Permalink
Add ci-job target to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
irinamihai committed Nov 6, 2023
1 parent 4259744 commit ad39464
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,23 @@ generate:

.PHONY: test tests
test tests:
@echo "=== Run ginkgo... ==="
ginkgo run -r $(ginkgo_flags)

.PHONY: fmt
fmt:
@echo "=== Run fmt... ==="
gofmt -s -l -w .

.PHONY: lint
lint:
@echo "=== Run lint... ==="
golangci-lint --version
golangci-lint run

.PHONY: ci-job
ci-job: lint fmt test

.PHONY: clean
clean:
rm -rf \
Expand Down

0 comments on commit ad39464

Please sign in to comment.