Skip to content

Bump k8s.io/client-go from 0.28.1 to 0.28.2 #342

Bump k8s.io/client-go from 0.28.1 to 0.28.2

Bump k8s.io/client-go from 0.28.1 to 0.28.2 #342

Workflow file for this run

---
name: Build and Test
on:
push:
pull_request:
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '^1.19'
- name: Checkout Code
uses: actions/checkout@v3
- name: Lint Go Code
run: |
go install honnef.co/go/tools/cmd/staticcheck@latest
make check
vet:
name: Vet
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '^1.19'
- name: Checkout Code
uses: actions/checkout@v3
- name: Vet Go code
run: make vet
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '^1.19'
- name: Checkout Code
uses: actions/checkout@v3
- name: Test
run: make test
build:
name: Build
runs-on: ubuntu-latest
needs: [check, vet, test]
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '^1.19'
- name: Checkout Code
uses: actions/checkout@v3
- name: build
run: make build
- name: Trivy scan
uses: aquasecurity/[email protected]
with:
scan-type: "fs"
ignore-unfixed: true
format: "table"
exit-code: "1"
vuln-type: "os,library"
severity: "CRITICAL,HIGH"