1
Fork 0

[ci] merge test and lint steps to one

main
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: 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.