Skip to content

Commit

Permalink
Adjust makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
slhmy committed Sep 12, 2023
1 parent 2b45926 commit 429ed98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.20.5

- name: Set up DB
run: |
make setup-db
- name: Test All
run: |
make test
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ check:
go vet ./...

.PHONY: test
test: build check setup-db
test: build check
go test -cover -v ./...

.PHONY: run
run: build check setup-db
run: build check
./bin/service

.PHONY: help
Expand Down

0 comments on commit 429ed98

Please sign in to comment.