mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-12 10:35:27 +00: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>
13 lines
282 B
YAML
13 lines
282 B
YAML
package: github.com/xeipuuv/gojsonschema
|
|
license: Apache 2.0
|
|
import:
|
|
- package: github.com/xeipuuv/gojsonschema
|
|
|
|
- package: github.com/xeipuuv/gojsonpointer
|
|
|
|
- package: github.com/xeipuuv/gojsonreference
|
|
|
|
testImport:
|
|
- package: github.com/stretchr/testify
|
|
subpackages:
|
|
- assert
|