Skip to content

add TLS to evidences #446

add TLS to evidences

add TLS to evidences #446

name: Compatibility Validation
# To test with `act` on Apple silicon:
# act -s GITHUB_TOKEN="$(gh auth token)" --container-architecture linux/amd64 -W .github/workflows/validate-compatibility.yml
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
validate:
name: Validate that changes are backwards compatible with the last stable release
runs-on: ubuntu-latest
steps:
- name: Checkout repository content
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install validator
run: python -m pip install "ocsf-lib>=${{ vars.COMPATIBILITY_VALIDATOR_VERSION || '0.8,<0.9' }}"
- name: Run validator
shell: bash
run: export FORCE_COLOR=1 && python -m ocsf.validate.compatibility ${{ vars.LATEST_STABLE || '1.3.0' }} .
# with:
#repository: ocsf/ocsf-schema
#path: schema