Commit 57c4ad45 authored by e_zombie's avatar e_zombie

Use 'cytopia' validator

parent e5ef5489
---
variables:
jsonlint_version: "latest"
default:
image:
name: cytopia/jsonlint:$jsonlint_version
entrypoint: ["/bin/sh", "-c"]
stages:
- lint
jsonlint:
stage: lint
image: peterdavehello/jsonlint:$jsonlint_version
only:
changes:
- "**/*.json"
- "*/*/*.json"
- .gitlab-ci.yml
script:
- find . -name "*.json" | xargs -n 1 jsonlint -q
- find . -name "*.json" | xargs -n 1 jsonlint
tags:
- docker
\ No newline at end of file
- docker
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment