Skip to content

Commit

Permalink
Add mod tidy before test and run
Browse files Browse the repository at this point in the history
  • Loading branch information
JanuszCzornik committed Jan 7, 2024
1 parent 9b2bfe4 commit 8d9c4f0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
build:
go build .

test:
mod-tidy:
go mod tidy

test: mod-tidy
go test ./...

run:
run: mod-tidy
go run . $(CONFIG)

0 comments on commit 8d9c4f0

Please sign in to comment.