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:
1 file changed
+2
-12
@@ -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
|
||||
Reference in new issue
Block a user