Skip to content

Update kubernetes packages to v0.28.2 - autoclosed #268

Update kubernetes packages to v0.28.2 - autoclosed

Update kubernetes packages to v0.28.2 - autoclosed #268

Workflow file for this run

name: build
on:
pull_request:
workflow_call:
secrets:
PERSONAL_ACCESS_TOKEN:
required: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.20'
check-latest: true # https://github.com/actions/setup-go#check-latest-version
cache: true # https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs
- name: Build
run: go build -race ./...
- name: Grype scan
id: scan
uses: anchore/scan-action@v3
with:
path: "."
fail-build: true
severity-cutoff: negligible
output-format: sarif
- name: Upload SARIF report
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ steps.scan.outputs.sarif }}