mirror of
https://github.com/thegeeklab/url-parser.git
synced 2024-11-18 03:00:43 +00:00
26 lines
432 B
YAML
26 lines
432 B
YAML
|
---
|
||
|
when:
|
||
|
- event: [pull_request, tag]
|
||
|
- event: [push, manual]
|
||
|
branch:
|
||
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||
|
|
||
|
steps:
|
||
|
lint:
|
||
|
image: docker.io/library/golang:1.21
|
||
|
commands:
|
||
|
- make lint
|
||
|
|
||
|
test:
|
||
|
image: docker.io/library/golang:1.21
|
||
|
commands:
|
||
|
- make test
|
||
|
|
||
|
coverage:
|
||
|
image: docker.io/plugins/codecov
|
||
|
settings:
|
||
|
files:
|
||
|
- coverage.out
|
||
|
token:
|
||
|
from_secret: codecov_token
|