Bump github.com/vishvananda/netlink from 1.2.1-beta.2 to 1.3.0 #540
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@v4 | |
with: | |
go-version-file: go.mod | |
check-latest: true | |
cache-dependency-path: "**/go.sum" | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/go/bin | |
- 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: Build | |
run: make build-linux | |
- name: Unit test | |
run: make test | |
- name: Upload code coverage | |
uses: codecov/codecov-action@v3 | |
docker-build: | |
name: Build Docker images | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout latest commit in the PR | |
uses: actions/checkout@v3 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Build Network Policy Agent images | |
run: make docker-buildx | |
deprecated-apigroups: | |
name: Detect deprecated apiGroups | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: | | |
version=$(curl -sL https://api.github.com/repos/FairwindsOps/pluto/releases/latest | jq -r ".tag_name") | |
number=${version:1} | |
wget https://github.com/FairwindsOps/pluto/releases/download/${version}/pluto_${number}_linux_amd64.tar.gz | |
sudo tar -C /usr/local -xzf pluto_${number}_linux_amd64.tar.gz | |
- run: | | |
/usr/local/pluto detect-files -d . | |
vuln_check: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Go Version | |
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
cache-dependency-path: "**/go.sum" | |
- name: Install `govulncheck` | |
run: go install golang.org/x/vuln/cmd/govulncheck@latest | |
- name: Run `govulncheck` | |
run: ~/go/bin/govulncheck ./... |