Sha256: c8ed8eab20cd413fa2520cf5f330b436b719d4df76163fcabf5fe43e5d86b342

Contents?: true

Size: 1.2 KB

Versions: 12

Compression:

Stored size: 1.2 KB

Contents

name: "validate_schemas"

on:
  push:
    branches: [ main ]
  pull_request:
  workflow_dispatch:

concurrency:
  group: '${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.ref_name }}'
  cancel-in-progress: true

jobs:
  schemas:
    name: Validate schemas
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        test-group:
          [
            'iso-10303/schemas-srl.yml',
            'iso-10303/schemas_module.yml',
            'iso-10303/schemas_bom.yml',
          ]

    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Checkout
        uses: actions/checkout@v4
        with:
          repository: 'metanorma/iso-10303'
          path: iso-10303
          token: ${{ secrets.LUTAML_CI_PAT_TOKEN }}

      - name: Install Ruby
        uses: ruby/setup-ruby@master
        with:
          ruby-version: 3.2
          bundler-cache: true
          cache-version: 0 # Increment this number if you need to re-download cached gems

      - name: Validate schemas ${{ matrix.test-group }}
        run: |
          yq '.schemas[].path | sub("schemas", "iso-10303/schemas")' ${{ matrix.test-group }} | xargs bundle exec ./exe/expressir validate

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
expressir-2.1.15 .github/workflows/validate_schemas.yml
expressir-2.1.14 .github/workflows/validate_schemas.yml
expressir-2.1.13 .github/workflows/validate_schemas.yml
expressir-2.1.12 .github/workflows/validate_schemas.yml
expressir-2.1.11 .github/workflows/validate_schemas.yml
expressir-2.1.10 .github/workflows/validate_schemas.yml
expressir-2.1.9 .github/workflows/validate_schemas.yml
expressir-2.1.8 .github/workflows/validate_schemas.yml
expressir-2.1.7 .github/workflows/validate_schemas.yml
expressir-2.1.6 .github/workflows/validate_schemas.yml
expressir-2.1.5 .github/workflows/validate_schemas.yml
expressir-2.1.4 .github/workflows/validate_schemas.yml