0
0
mirror of https://github.com/thegeeklab/wp-git-clone.git synced 2024-11-24 23:10:40 +00:00
wp-git-clone/.woodpecker/test.yml

20 lines
384 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:
- apt-get update
- apt-get install -y --no-install-recommends git git-lfs
- make test