mirror of
https://github.com/thegeeklab/git-sv.git
synced 2024-11-28 06:30:35 +00:00
18 lines
284 B
YAML
18 lines
284 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
|