mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-12 08:23:48 +02:00
0fa271f465
- Add json schema file - Add tests to validate sample pipeline files - Add new command `lint` to cli to test a directory or single file to use correct schema Example: `woodpecker-cli lint ./pipeline/schema/.woodpecker/` --- close #275 preparation for #276 Co-authored-by: 6543 <6543@obermui.de>
16 lines
190 B
YAML
16 lines
190 B
YAML
branches: master
|
|
|
|
matri:
|
|
GO_VERSION:
|
|
- 1.14
|
|
- 1.13
|
|
|
|
pipeline:
|
|
test:
|
|
image: golang:${GO_VERSION}
|
|
commands:
|
|
- echo "test ${DATABAS}"
|
|
|
|
build:
|
|
commands: go build
|