mirror of
https://github.com/thegeeklab/wp-docker-buildx.git
synced 2024-11-10 03:30:40 +00:00
23 lines
366 B
YAML
23 lines
366 B
YAML
|
---
|
||
|
when:
|
||
|
- event: [pull_request, tag]
|
||
|
- event: [push, manual]
|
||
|
branch:
|
||
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||
|
|
||
|
steps:
|
||
|
deps:
|
||
|
image: docker.io/library/golang:1.20
|
||
|
commands:
|
||
|
- make deps
|
||
|
|
||
|
lint:
|
||
|
image: docker.io/library/golang:1.20
|
||
|
commands:
|
||
|
- make lint
|
||
|
|
||
|
test:
|
||
|
image: docker.io/library/golang:1.20
|
||
|
commands:
|
||
|
- make test
|