File tree 1 file changed +8
-7
lines changed 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,16 @@ jobs:
14
14
- name : Install Go
15
15
uses : actions/setup-go@v2
16
16
with :
17
- go-version : ' 1.14.6'
17
+ go-version : ' 1.15.5'
18
+ - name : golangci-lint
19
+ uses : golangci/golangci-lint-action@v2
20
+ with :
21
+ version : v1.32
22
+ args : -v -D errcheck
18
23
- name : go fmt
19
24
run : go get golang.org/x/tools/cmd/goimports && goimports -d . | (! grep .)
20
25
- name : go vet
21
26
run : go vet ./...
22
- - name : golangci-lint
23
- uses : golangci/golangci-lint-action@v1
24
- with :
25
- version : v1.30
26
- args : -v -D errcheck
27
27
- name : go test
28
28
run : go test -v ./...
29
29
- name : go test coverage
58
58
uses : docker/setup-buildx-action@v1
59
59
- name : Login to quay.io
60
60
uses : docker/login-action@v1
61
+ if : ${{ startsWith(github.ref, 'refs/heads/master') }}
61
62
with :
62
63
registry : quay.io
63
64
username : ${{ secrets.QUAY_USERNAME }}
69
70
file : ./Dockerfile
70
71
cache-from : type=registry,ref=quay.io/tinkerbell/pbnj:latest
71
72
push : ${{ startsWith(github.ref, 'refs/heads/master') }}
72
- tags : ${{ steps.docker-image-tag.outputs.tags }}
73
+ tags : ${{ steps.docker-image-tag.outputs.tags }}
You can’t perform that action at this time.
0 commit comments