You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 27, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ jobs:
21
21
uses: actions/setup-go@v1
22
22
with:
23
23
go-version: ${{ secrets.GO_VERSION }}
24
-
- run: GOPROXY=direct GOSUMDB=off go get -u golang.org/x/lint/golint; go list ./osm/... | grep -v /vendor/ | xargs -L1 /home/runner/go/bin/golint -set_exit_status
24
+
- run: GOPROXY=https://proxy.golang.org,direct GOSUMDB=off go get -u golang.org/x/lint/golint; go list ./osm/... | grep -v /vendor/ | xargs -L1 /home/runner/go/bin/golint -set_exit_status
25
25
error_check:
26
26
name: Error check
27
27
runs-on: ubuntu-latest
@@ -34,7 +34,7 @@ jobs:
34
34
uses: actions/setup-go@v1
35
35
with:
36
36
go-version: ${{ secrets.GO_VERSION }}
37
-
- run: GOPROXY=direct GOSUMDB=off GO111MODULE=on go get -u github.com/kisielk/errcheck; /home/runner/go/bin/errcheck -tags draft ./...
37
+
- run: GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go get -u github.com/kisielk/errcheck; /home/runner/go/bin/errcheck -tags draft ./...
38
38
static_check:
39
39
name: Static check
40
40
runs-on: ubuntu-latest
@@ -47,7 +47,7 @@ jobs:
47
47
uses: actions/setup-go@v1
48
48
with:
49
49
go-version: ${{ secrets.GO_VERSION }}
50
-
- run: GOPROXY=direct GOSUMDB=off GO111MODULE=on go get -u honnef.co/go/tools/cmd/staticcheck; /home/runner/go/bin/staticcheck -tags draft -checks all ./osm/... # https://staticcheck.io/docs/checks
50
+
- run: GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go get -u honnef.co/go/tools/cmd/staticcheck; /home/runner/go/bin/staticcheck -tags draft -checks all ./osm/... # https://staticcheck.io/docs/checks
51
51
vet:
52
52
name: Vet
53
53
runs-on: ubuntu-latest
@@ -60,7 +60,7 @@ jobs:
60
60
uses: actions/setup-go@v1
61
61
with:
62
62
go-version: ${{ secrets.GO_VERSION }}
63
-
- run: GOPROXY=direct GOSUMDB=off GO111MODULE=on go vet -tags draft ./...
63
+
- run: GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go vet -tags draft ./...
64
64
sec_check:
65
65
name: Security check
66
66
runs-on: ubuntu-latest
@@ -99,4 +99,4 @@ jobs:
99
99
echo "current-context:" ${CURRENTCONTEXT}
100
100
export KUBECONFIG="${HOME}/.kube/config"
101
101
echo "environment-kubeconfig:" ${KUBECONFIG}
102
-
GOPROXY=direct GOSUMDB=off GO111MODULE=on go test ./...
102
+
GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go test ./...
0 commit comments