chore(ci-cd): remove redundant Go setup step
Remove the explicit Go installation step in the CI pipeline since Go is already available in the container. The Go proxy mirror configuration remains in place to maintain dependency resolution behavior.
This commit is contained in:
3
.github/workflows/ci-cd.yml
vendored
3
.github/workflows/ci-cd.yml
vendored
@@ -14,9 +14,6 @@ jobs:
|
|||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
run: git clone "${{ secrets.G_CLONE_URL }}" .
|
run: git clone "${{ secrets.G_CLONE_URL }}" .
|
||||||
|
|
||||||
- name: Setup go
|
|
||||||
run : echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc && source ~/.bashrc
|
|
||||||
|
|
||||||
- name: Set go proxy mirror
|
- name: Set go proxy mirror
|
||||||
run: go env -w GOPROXY=https://go.iranserver.com/repository/go/ && go env -w GOSUMDB=off
|
run: go env -w GOPROXY=https://go.iranserver.com/repository/go/ && go env -w GOSUMDB=off
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user