[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
1 changed files with 2 additions and 4 deletions

View File

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