ci: use go 1.14
This commit is contained in:
parent
3bd15423e4
commit
71272ef7d9
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v2-beta
|
uses: actions/setup-go@v2-beta
|
||||||
with:
|
with:
|
||||||
go-version: 1.13.x
|
go-version: 1.14.x
|
||||||
- name: Setup Kubernetes
|
- name: Setup Kubernetes
|
||||||
uses: engineerd/setup-kind@v0.3.0
|
uses: engineerd/setup-kind@v0.3.0
|
||||||
- name: Setup Kustomize
|
- name: Setup Kustomize
|
||||||
|
|
@ -34,7 +34,11 @@ jobs:
|
||||||
env:
|
env:
|
||||||
KUBEBUILDER_ASSETS: ${{ github.workspace }}/kubebuilder/bin
|
KUBEBUILDER_ASSETS: ${{ github.workspace }}/kubebuilder/bin
|
||||||
- name: Check if working tree is dirty
|
- name: Check if working tree is dirty
|
||||||
run: git diff --quiet || echo 'run make test and commit changes' && exit 1
|
run: |
|
||||||
|
if [[ $(git diff --stat) != '' ]]; then
|
||||||
|
echo 'run make test and commit changes'
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
- name: Build container image
|
- name: Build container image
|
||||||
run: make docker-build IMG=test/source-controller:latest
|
run: make docker-build IMG=test/source-controller:latest
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue