2021-05-31 23:43:07 +03:00
|
|
|
image: alpine/edge
|
|
|
|
packages:
|
|
|
|
- go
|
2021-06-01 09:00:27 +03:00
|
|
|
- git
|
2021-06-01 08:42:23 +03:00
|
|
|
- make
|
2021-08-24 16:42:48 +03:00
|
|
|
- shellcheck
|
2021-05-31 23:43:07 +03:00
|
|
|
sources:
|
|
|
|
- https://git.sr.ht/~motiejus/undocker
|
|
|
|
tasks:
|
2021-06-01 09:00:27 +03:00
|
|
|
- setup: |
|
2021-06-01 09:07:32 +03:00
|
|
|
go install honnef.co/go/tools/cmd/staticcheck@latest
|
2021-05-31 23:43:07 +03:00
|
|
|
- test: |
|
2021-06-01 08:43:36 +03:00
|
|
|
make -C undocker coverage.html
|
2021-06-01 09:00:27 +03:00
|
|
|
- lint: |
|
2021-08-23 16:42:57 +03:00
|
|
|
make -C undocker -O -j$(nproc) lint
|
2021-09-29 14:38:31 +03:00
|
|
|
- usage: |
|
|
|
|
./undocker/undocker |& tee /dev/stderr | grep -q "Built with "
|
2021-05-31 23:43:07 +03:00
|
|
|
artifacts:
|
2021-06-01 08:42:23 +03:00
|
|
|
- undocker/coverage.html
|