diff --git a/.github/workflows/go-build.yml b/.github/workflows/go-build.yml index 13f4bbe..b7274f3 100644 --- a/.github/workflows/go-build.yml +++ b/.github/workflows/go-build.yml @@ -22,7 +22,7 @@ jobs: run: sudo apt-get install libusb-1.0-0-dev - name: Build - run: go build -v ./... + run: make build - name: Test - run: go test ./... -cover -coverprofile coverage.out -race -mod=vendor -v \ No newline at end of file + run: make test \ No newline at end of file diff --git a/Makefile b/Makefile index e1d311d..4121dd4 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ install-libusb: sudo apt-get install libusb-1.0-0-dev build: - go build -v ./... + go build ./... test: go test ./... -cover -coverprofile coverage.out -race -mod=vendor -v