Upgrade K8s Dependencies to v0.30.4
#2189
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: Pull Request Code test | |
on: | |
pull_request: | |
types: [ assigned, opened, synchronize, reopened ] | |
paths-ignore: | |
- 'docs/**' | |
- '**/*.md' | |
jobs: | |
checks: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Download k8s.io/code-generator | |
run: | | |
CODE_GEN_VERSION=$(go list -m -f '{{.Version}}' k8s.io/code-generator) | |
go get k8s.io/code-generator@$CODE_GEN_VERSION | |
echo "CODE_GEN_DIR=$(go list -m -f '{{.Dir}}' k8s.io/code-generator)" >> $GITHUB_ENV | |
- name: Run make test | |
run: make test |