0
0
mirror of https://github.com/thegeeklab/wp-git-clone.git synced 2024-11-22 10:20:38 +00:00
wp-git-clone/.woodpecker/test.yml

20 lines
384 B
YAML
Raw Permalink Normal View History

2023-12-22 23:59:23 +00:00
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
- name: lint
image: docker.io/library/golang:1.22
2023-12-22 23:59:23 +00:00
commands:
- make lint
- name: test
image: docker.io/library/golang:1.22
2023-12-22 23:59:23 +00:00
commands:
2023-12-23 00:13:41 +00:00
- apt-get update
- apt-get install -y --no-install-recommends git git-lfs
2023-12-22 23:59:23 +00:00
- make test