Skip to content

chore(ci): add action to test abnf syntax and examples in OM2.0 spec #3

chore(ci): add action to test abnf syntax and examples in OM2.0 spec

chore(ci): add action to test abnf syntax and examples in OM2.0 spec #3

Workflow file for this run

name: OpenMetrics
on:
pull_request:
paths:
- 'docs/specs/om/open_metrics_spec_2_0.md'
jobs:
check-abnf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.12.3"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install abnf
- name: Check ABNF for OpenMetrics 2.0
run: |
python3 scripts/check_openmetrics_spec.py docs/specs/om/open_metrics_spec_2_0.md