File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 33
33
exit 1
34
34
fi
35
35
36
+ verify-gomod :
37
+ runs-on : ubuntu-latest
38
+ steps :
39
+ - name : Set up go
40
+ uses : actions/setup-go@v2
41
+ with :
42
+ go-version : 1.14
43
+ stable : true
44
+
45
+ - run : |
46
+ echo "::set-env name=GOPATH::${HOME}/go"
47
+
48
+ - uses : actions/checkout@v2
49
+
50
+ - run : go mod tidy
51
+
52
+ - run : |
53
+ changes=$(git status --porcelain)
54
+ if [[ -n "${changes}" ]]; then
55
+ echo "::error Changes detected from go mod tidy:"
56
+ echo "${changes}"
57
+ exit 1
58
+ fi
59
+
36
60
kind-e2e :
37
61
name : Test with a Kind cluster
38
62
runs-on : [ubuntu-latest]
52
76
run : |
53
77
kubectl get nodes -o wide
54
78
kubectl get pods --all-namespaces -o wide
55
- kubectl get services --all-namespaces -o wide
79
+ kubectl get services --all-namespaces -o wide
Original file line number Diff line number Diff line change @@ -6,10 +6,8 @@ require (
6
6
github.com/blang/semver v3.5.0+incompatible
7
7
github.com/evanphx/json-patch v4.5.0+incompatible
8
8
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
9
- github.com/onsi/gomega v1.8.1
10
9
github.com/pkg/errors v0.8.1
11
10
github.com/prometheus/client_golang v1.0.0
12
- golang.org/x/net v0.0.0-20200625001655-4c5254603344
13
11
golang.org/x/tools v0.0.0-20200714190737-9048b464a08d
14
12
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
15
13
k8s.io/api v0.18.4
You can’t perform that action at this time.
0 commit comments