Chore: Move code verification to proper workflow (#101742)

* baldm0mma/ move verification to new workflow

* baldm0mma/ test if needs install step

* baldm0mma/ remove install step

* baldm0mma/ update go version
This commit is contained in:
Jev Forsberg 2025-03-07 13:13:40 -07:00 committed by GitHub
parent ff10186db7
commit 9be18278d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -21,8 +21,13 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.23.7'
go-version-file: go.mod
cache: true
- name: Verify code generation
run: |
CODEGEN_VERIFY=1 make gen-cue
CODEGEN_VERIFY=1 make gen-jsonnet
- name: Validate go.mod
run: go run scripts/modowners/modowners.go check go.mod

View File

@ -41,11 +41,6 @@ jobs:
sudo apt-get install -y build-essential shared-mime-info
go install github.com/mfridman/tparse@c1754a1f484ac5cd422697b0fec635177ddc8507 # v0.17.0
- name: Verify code generation
run: |
CODEGEN_VERIFY=1 make gen-cue
CODEGEN_VERIFY=1 make gen-jsonnet
- name: Generate Go code
run: make gen-go