ci: no need to copy working dir to GOPATH

this commits remove using working-dire and copying
files to GOPATH since they are not required anymore.

Signed-off-by: subhamkrai <srai@redhat.com>
This commit is contained in:
subhamkrai committed 2022-09-06 19:22:45 +05:30
1 parent c7ab01b946
commit c2cc8d3a66
5 files changed
-30

No files matched your search

-5
View File
@@ -38,13 +38,8 @@ jobs:
with:
fetch-depth: 0
- name: copy working directory to GOPATH
run: sudo mkdir -p /home/runner/go/src/github.com && sudo cp -a /home/runner/work/rook /home/runner/go/src/github.com/
- name: run codegen
working-directory: /home/runner/go/src/github.com/rook/rook
run: GOPATH=$(go env GOPATH) make codegen
- name: validate codegen
working-directory: /home/runner/go/src/github.com/rook/rook
run: tests/scripts/validate_modified_files.sh codegen