mirror of
https://github.com/thegeeklab/wp-gitea-release.git
synced 2024-11-10 03:40:40 +00:00
18 lines
298 B
YAML
18 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.21
|
||
|
commands:
|
||
|
- make lint
|
||
|
|
||
|
- name: test
|
||
|
image: docker.io/library/golang:1.21
|
||
|
commands:
|
||
|
- make test
|