Skip to content

Commit

Permalink
go generate on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
orishavit committed Aug 22, 2024
1 parent b088007 commit ed7c299
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
go-version: '1.21.3'
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt update && sudo apt install libpcap-dev # required for the linter to be able to lint github.com/google/gopacket
run: sudo apt update && sudo apt install libpcap-dev clang libelf-dev libbpf-dev linux-headers-generic # required for the linter to be able to lint github.com/google/gopacket
- name: go generate
run: |
go generate ./...
go generate -tags ebpf ./...
working-directory: src
- name: go vet
Expand All @@ -44,7 +44,11 @@ jobs:
go-version: '1.21.3'
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt update && sudo apt install libpcap-dev # required for the linter to be able to lint github.com/google/gopacket
run: sudo apt update && sudo apt install libpcap-dev clang libelf-dev libbpf-dev linux-headers-generic # required for the linter to be able to lint github.com/google/gopacket
- name: go generate
run: |
go generate -tags ebpf ./...
working-directory: src
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down

0 comments on commit ed7c299

Please sign in to comment.