Skip to content

Commit

Permalink
Cleaning up workflow step labels and making schema validator version …
Browse files Browse the repository at this point in the history
…configurable via a repository variable
  • Loading branch information
query-jeremy committed Jun 19, 2024
1 parent eb7e48d commit 099f590
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deep-validate.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Validate (ocsf-validator)
name: Metaschema Validation

on:
push:
Expand All @@ -8,7 +8,7 @@ on:

jobs:
validate:
name: Validate the schema
name: Validate the schema satisfies the requirements of the metaschema
runs-on: ubuntu-latest
steps:
- name: Checkout repository content
Expand All @@ -20,7 +20,7 @@ jobs:
python-version: '3.11'

- name: Install validator
run: python -m pip install 'ocsf-validator>=0.2,<0.3'
run: python -m pip install 'ocsf-validator>=${{ vars.SCHEMA_VALIDATOR_VERSION || '0.2,<0.3' }}'

- name: Run validator
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: OCSF Schema Validation - Elixir Server
name: Server Validation

on:
push:
Expand All @@ -8,7 +8,7 @@ on:

jobs:
build:
name: Validate the schema can be understood by the OCSF Elixir server
name: Validate the schema can be understood by the OCSF server
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 099f590

Please sign in to comment.