Skip to content

Commit

Permalink
install libusb in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohimaster committed Apr 5, 2024
1 parent b5b6acd commit 4fea142
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,17 @@ on:
branches: [ "main" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'

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

- name: Test
run: go test -v ./...
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '^1.15' # Specify the Go version
- name: Install libusb
run: sudo apt-get install -y libusb-1.0-0-dev
- name: Build
run: go build
- name: Test
run: go test ./...

0 comments on commit 4fea142

Please sign in to comment.