Bump sigs.k8s.io/controller-tools from 0.16.4 to 0.16.5 in /hack #134
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: CI | |
on: | |
push: | |
branches: | |
- '**' | |
- '!dependabot/**' | |
pull_request: {} | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.x | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Get dependencies | |
run: | | |
go get -v -t -d ./... | |
- name: Regenerate files | |
run: | | |
./hack/update-codegen.sh | |
- name: Check for drift in generated files | |
run: | | |
git diff --exit-code . | |
- name: Test | |
run: | | |
go test -v ./... -coverprofile cover.out | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: 97c581bf-f8ad-4881-8ace-ebb1e2d5b0e1 |