From 1403d7be73f987ba7e82828dabd0f26d59e53ad1 Mon Sep 17 00:00:00 2001 From: Raul Bernal Date: Fri, 22 Nov 2024 12:35:21 +0100 Subject: [PATCH] same Json-validate --- .github/workflows/Json-validate.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/Json-validate.yaml diff --git a/.github/workflows/Json-validate.yaml b/.github/workflows/Json-validate.yaml new file mode 100644 index 00000000..fd115fef --- /dev/null +++ b/.github/workflows/Json-validate.yaml @@ -0,0 +1,17 @@ +name: JSON check + +on: + push: + paths: + - '**.json' + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: json-syntax-check + uses: limitusus/json-syntax-check@v2 + with: + pattern: "\\.json$"