Bump review action to 2.9.0, CASE validation to 1.3.0 #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |