Skip to content

Commit

Permalink
- Enhance github action script
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbritz committed Mar 5, 2024
1 parent c457402 commit cd6109a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
go-version: 1.22.0

- name: Install libusb
run: sudo apt-get install libusb-1.0-0-dev
run: make install-libusb

- name: Build
run: go build -v ./...
run: make build

- name: Test
run: go test ./... -cover -coverprofile coverage.out -race -mod=vendor -v
run: make test
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd6109a

Please sign in to comment.