Skip to content

Commit 71272ef

Browse files
committed
ci: use go 1.14
1 parent 3bd1542 commit 71272ef

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/e2e.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Go
2323
uses: actions/setup-go@v2-beta
2424
with:
25-
go-version: 1.13.x
25+
go-version: 1.14.x
2626
- name: Setup Kubernetes
2727
uses: engineerd/[email protected]
2828
- name: Setup Kustomize
@@ -34,7 +34,11 @@ jobs:
3434
env:
3535
KUBEBUILDER_ASSETS: ${{ github.workspace }}/kubebuilder/bin
3636
- name: Check if working tree is dirty
37-
run: git diff --quiet || echo 'run make test and commit changes' && exit 1
37+
run: |
38+
if [[ $(git diff --stat) != '' ]]; then
39+
echo 'run make test and commit changes'
40+
exit 1
41+
fi
3842
- name: Build container image
3943
run: make docker-build IMG=test/source-controller:latest
4044
env:

0 commit comments

Comments
 (0)