Bump golang.org/x/sys from 0.16.0 to 0.17.0 #119
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Automatic Pull Request test | |
on: | |
pull_request: | |
branches: | |
- "main" | |
- "release*" | |
permissions: | |
contents: read | |
jobs: | |
unit-test: | |
name: Unit test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout latest commit in the PR | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.20" | |
- name: Set up tools | |
run: | | |
go install golang.org/x/lint/golint@latest | |
go install golang.org/x/tools/cmd/goimports@latest | |
- name: Run code checks | |
run: | | |
make check-format | |
make vet | |
- name: Set up BPF | |
run: | | |
sudo apt-get install libbpf-dev | |
- name: Build | |
run: make build-linux | |
- name: Unit test | |
run: sudo make unit-test | |
- name: Upload code coverage | |
uses: codecov/codecov-action@v3 | |
functional-test: | |
name: Functional test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout latest commit in the PR | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.20" | |
- name: Set up BPF | |
run: | | |
sudo apt-get install libbpf-dev | |
- name: Build | |
run: make build-linux | |
- name: Functional test | |
run: cd test && sudo make run-test |