[ci] merge test and lint steps to one
This commit is contained in:
parent
4754869190
commit
41baf180a3
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user