17 lines
298 B
YAML
17 lines
298 B
YAML
---
|
|
when:
|
|
- event: [pull_request, tag]
|
|
- event: [push, manual]
|
|
branch:
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
steps:
|
|
- name: lint
|
|
image: docker.io/library/golang:1.22
|
|
commands:
|
|
- make lint
|
|
|
|
- name: test
|
|
image: docker.io/library/golang:1.22
|
|
commands:
|
|
- make test
|