File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
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
You can’t perform that action at this time.
0 commit comments