Fix panic in diegen with go1.22 (#129) #290
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: CI | |
on: | |
push: | |
branches: | |
- '**' | |
- '!dependabot/**' | |
tags: | |
- '**' | |
pull_request: {} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21.x | |
- name: Ensure generated code is committed | |
run: ./hack/update-codegen.sh && git diff --exit-code | |
- name: Test | |
run: go test ./... -coverprofile cover.out | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
- name: Update the release with Kubernetes resources | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
draft: true |