Skip to content

Only include match arguments for unambiguous steps #55

Only include match arguments for unambiguous steps

Only include match arguments for unambiguous steps #55

Workflow file for this run

name: test-testdata
on:
push:
branches:
- main
paths:
- testdata/compatibility-kit/**
- testdata/json-schema/**
- .github/**
pull_request:
branches:
- main
paths:
- testdata/compatibility-kit/**
- testdata/json-schema/**
- .github/**
jobs:
test-testdata-compatibility-kit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
cache: 'npm'
cache-dependency-path: testdata/compatibility-kit/package-lock.json
- run: npm ci
working-directory: testdata/compatibility-kit/
- name: check repository is not dirty
run: "[[ -z $(git status --porcelain) ]]"
- name: show diff
if: ${{ failure() }}
run: git status --porcelain
test-testdata-json-schema:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
cache: 'npm'
cache-dependency-path: testdata/json-schema/package-lock.json
- run: npm ci
working-directory: testdata/json-schema/
- name: check repository is not dirty
run: "[[ -z $(git status --porcelain) ]]"
- name: show diff
if: ${{ failure() }}
run: git status --porcelain