@@ -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
@@ -1,5 +1,8 @@
build:
go build -trimpath -ldflags "-s -w" .
+test:
+ go test -v ./...
+
clean:
go clean