From 099f590ded044b7f40c21eee970f7cd798713fda Mon Sep 17 00:00:00 2001 From: Jeremy Fisher <106115283+query-jeremy@users.noreply.github.com> Date: Wed, 19 Jun 2024 14:43:57 -0500 Subject: [PATCH] Cleaning up workflow step labels and making schema validator version configurable via a repository variable --- .github/workflows/deep-validate.yml | 6 +++--- .github/workflows/validate.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deep-validate.yml b/.github/workflows/deep-validate.yml index 45e4a4adc..6f209b71d 100644 --- a/.github/workflows/deep-validate.yml +++ b/.github/workflows/deep-validate.yml @@ -1,4 +1,4 @@ -name: Validate (ocsf-validator) +name: Metaschema Validation on: push: @@ -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 @@ -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 diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index a156c642b..dba7443b3 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -1,4 +1,4 @@ -name: OCSF Schema Validation - Elixir Server +name: Server Validation on: push: @@ -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