[ci] merge test and lint steps to one

This commit is contained in:
Motiejus Jakštys 2021-09-29 14:45:53 +03:00 committed by Motiejus Jakštys
parent 4754869190
commit 41baf180a3

View File

@ -9,10 +9,8 @@ sources:
tasks: tasks:
- setup: | - setup: |
go install honnef.co/go/tools/cmd/staticcheck@latest go install honnef.co/go/tools/cmd/staticcheck@latest
- test: | - built-test-lint: |
make -C undocker coverage.html make -C undocker -O -j$(nproc) undocker coverage.html lint
- lint: |
make -C undocker -O -j$(nproc) lint
- usage: | - usage: |
# like 'grep -q', but prints output too. # like 'grep -q', but prints output too.
# | tee /dev/stderr doesn't work on sourcehut workers; permission denied. # | tee /dev/stderr doesn't work on sourcehut workers; permission denied.