Merge pull request #15104 from rook/mergify/bp/release-1.16/pr-15094

ci: simplify the codegen workflow a bit (backport #15094)
This commit is contained in:
Blaine Gardner authored and GitHub committed 2024-12-06 12:44:25 -07:00
commit fc3cea08f0
1 file changed
+2 -12
+2 -12
View File
@@ -38,18 +38,8 @@ jobs:
with:
go-version: "1.22"
- name: post-process checkout - copy to github.com
run: |
# copy to the github.com path so codegen will work as expected
mkdir -p $(go env GOPATH)/src/github.com/rook/rook/
cp -R . $(go env GOPATH)/src/github.com/rook/rook/
- name: run codegen
run: |
cd $(go env GOPATH)/src/github.com/rook/rook
GOPATH=$(go env GOPATH) make codegen
run: GOPATH=$(go env GOPATH) make codegen
- name: validate codegen
run: |
cd $(go env GOPATH)/src/github.com/rook/rook
tests/scripts/validate_modified_files.sh codegen
run: tests/scripts/validate_modified_files.sh codegen