From f7aa07cd5cbb2431db52073fca688b67201d099d Mon Sep 17 00:00:00 2001 From: Yayo Date: Fri, 2 Aug 2024 17:02:03 +0200 Subject: [PATCH] Update schema-validator.yml --- .github/workflows/schema-validator.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/schema-validator.yml b/.github/workflows/schema-validator.yml index fdcbc3e105..0dc73d1202 100644 --- a/.github/workflows/schema-validator.yml +++ b/.github/workflows/schema-validator.yml @@ -12,20 +12,24 @@ on: jobs: Movistar: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [16.x] steps: - uses: actions/checkout@v3 - name: Validate action.yml against a remote schema - uses: cardinalby/schema-validator-action@v1 + uses: cardinalby/schema-validator-action@v3 with: file: "tokens/movistar.json" schema: "tokens/schema/skin-schema.json" + refSchemasArray: "tokens/schema/patterns/movistar-pattern.json" O2: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Validate action.yml against a remote schema - uses: cardinalby/schema-validator-action@v1 + uses: cardinalby/schema-validator-action@v3 with: file: "tokens/o2.json" schema: "tokens/schema/skin-schema.json" @@ -35,7 +39,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Validate action.yml against a remote schema - uses: cardinalby/schema-validator-action@v1 + uses: cardinalby/schema-validator-action@v3 with: file: "tokens/o2-new.json" schema: "tokens/schema/skin-schema.json" @@ -45,7 +49,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Validate action.yml against a remote schema - uses: cardinalby/schema-validator-action@v1 + uses: cardinalby/schema-validator-action@v3 with: file: "tokens/vivo.json" schema: "tokens/schema/skin-schema.json" @@ -55,7 +59,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Validate action.yml against a remote schema - uses: cardinalby/schema-validator-action@v1 + uses: cardinalby/schema-validator-action@v3 with: file: "tokens/vivo-new.json" schema: "tokens/schema/skin-schema.json" @@ -65,7 +69,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Validate action.yml against a remote schema - uses: cardinalby/schema-validator-action@v1 + uses: cardinalby/schema-validator-action@v3 with: file: "tokens/telefonica.json" schema: "tokens/schema/skin-schema.json" @@ -75,7 +79,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Validate action.yml against a remote schema - uses: cardinalby/schema-validator-action@v1 + uses: cardinalby/schema-validator-action@v3 with: file: "tokens/blau.json" schema: "tokens/schema/skin-schema.json"