Skip to content

vendor: bump the k8s-deps group with 3 updates #928

vendor: bump the k8s-deps group with 3 updates

vendor: bump the k8s-deps group with 3 updates #928

Workflow file for this run

name: Go build
on:
pull_request: {}
push:
branches:
- main
- v0.1
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Install Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
with:
go-version-file: 'go.mod'
- name: Formatting check
run: |
go fmt ./...
git diff --exit-code
- name: Go mod check
run: |
go mod tidy
go mod vendor
test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy && go mod vendor', and submit your changes"; exit 1)
- name: Run static checks
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9
with:
version: v2.1.6
# use our .golangci.yml
args: --config=.golangci.yml --verbose
skip-cache: true
- name: govulncheck
uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee
with:
go-version-file: 'go.mod'
go-package: './...'
- name: Build
run: |
go build ./...
- name: Test
run: |
go test ./...