[v0.1] vendor: Bump the k8s-deps group with 3 updates #700
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: Go build | |
on: | |
pull_request: {} | |
push: | |
branches: | |
- master | |
- v0.1 | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 | |
- name: Install Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 | |
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@971e284b6050e8a5849b72094c50ab08da042db8 | |
with: | |
version: v1.60.1 | |
# use our .golangci.yml and configure output to be logged in the GHA, in addition to annotating the commit. | |
# see https://github.com/golangci/golangci-lint-action/issues/119#issuecomment-981090648 for output | |
args: --config=.golangci.yml --verbose --out-${NO_FUTURE}format colored-line-number | |
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 ./... |