diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6386e9..2bbd25d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,4 +14,6 @@ jobs: - name: Format run: gofmt -d -e -s . - name: Build - run: go build . + run: make build + - name: Test + run: make test diff --git a/Makefile b/Makefile index 0588364..8b4cd1e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ build: go build -trimpath -ldflags "-s -w" . +test: + go test -v ./... + clean: go clean \ No newline at end of file