diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 3cb40f5..63ac466 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -7,21 +7,17 @@ jobs: test: name: Test runs-on: ubuntu-latest + strategy: + matrix: + json-file: + - "action.json" + - "k8s.json" + - "helm.json" + - "common.json" + - "docker-compose.json" steps: - uses: actions/checkout@v5 - - name: Validate "action.json" + - name: Validate "${{ matrix.json-file }}" uses: https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action@0.1.2 with: - json-file: "./action.json" - - name: Validate "k8s.json" - uses: https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action@0.1.2 - with: - json-file: "./k8s.json" - - name: Validate "helm.json" - uses: https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action@0.1.2 - with: - json-file: "./helm.json" - - name: Validate "common.json" - uses: https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action@0.1.2 - with: - json-file: "./common.json" + json-file: "./${{ matrix.json-file }}"