chore: run tests before linting (#206)

This commit is contained in:
Andrew Rynhard 2018-11-12 08:23:24 -08:00 committed by GitHub
parent 160ce41c0d
commit 9a8284465f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,8 +247,8 @@ tasks:
FROM {{ .Repository }}:base AS {{ .Docker.CurrentStage }} FROM {{ .Repository }}:base AS {{ .Docker.CurrentStage }}
WORKDIR /src/github.com/autonomy/dianemo/src/initramfs WORKDIR /src/github.com/autonomy/dianemo/src/initramfs
RUN chmod +x ./hack/test.sh RUN chmod +x ./hack/test.sh
RUN ./hack/test.sh --lint ./hack/golangci-lint.yaml
RUN ./hack/test.sh --unit RUN ./hack/test.sh --unit
RUN ./hack/test.sh --lint ./hack/golangci-lint.yaml
trustd: trustd:
template: | template: |
FROM {{ .Repository }}:base AS {{ .Docker.CurrentStage }} FROM {{ .Repository }}:base AS {{ .Docker.CurrentStage }}