Skip to content

Merge pull request #5 from casework/bump_case_validation_action #19

Merge pull request #5 from casework/bump_case_validation_action

Merge pull request #5 from casework/bump_case_validation_action #19

Workflow file for this run

name: CASE Validation
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Get the code from the repository to be packaged
- name: Get Repo
uses: actions/checkout@v3
# Setup the Python environment
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
# Confirm the JSON files have been properly formatted based on the rules defined in the
# pre-commit configuration file (.pre-commit-config.yaml)
- name: Pre-commit Checks
run: |
pip -q install pre-commit
pre-commit run --all-files
# Run the CASE validation job to confirm all of the examples in examples/ are conformant
# CASE. Note, this only runs against files with the extension "jsonld"
- name: CASE Export Validation
uses: kchason/[email protected]
with:
case-path: ./examples/
case-version: "case-1.3.0"
extension-filter: "jsonld"