Bump rojopolis/spellcheck-github-actions from 0.42.0 to 0.43.1 (#58) #115
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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8.x' | |
- name: Setup prerequirements | |
run: pip install cwltest 'schema-salad[pycodegen]' | |
- name: Validate CWL schema | |
run: schema-salad-tool salad/schema_salad/metaschema/metaschema.yml CommonWorkflowLanguage.yml | |
- name: Download schema for conformance_tests.yaml | |
run: curl -LO https://raw.githubusercontent.com/common-workflow-language/cwltest/main/cwltest/cwltest-schema.yml | |
- name: Validate conformance_tests.yaml | |
run: schema-salad-tool cwltest-schema.yml conformance_tests.yaml | |
- name: Validate CWL documents | |
run: ./run_test.sh --self | |
validate_json: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8.x' | |
- name: Validate JSON schema document | |
run: | | |
pip install -r ./requirements-jsonschema-test.txt | |
pytest tests/json_schema |