This commit is contained in:
parent
8fdb176f14
commit
71742d3790
@ -3,6 +3,11 @@ type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: format
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- bash -c "gofmt -l . | wc -l | cmp -s <(echo 0) || (gofmt -l . && exit 1)"
|
||||
|
||||
- name: install
|
||||
image: golang:1.15
|
||||
environment:
|
||||
@ -47,4 +52,4 @@ steps:
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
temp: {}
|
||||
temp: { }
|
||||
|
Loading…
Reference in New Issue
Block a user