Skip to content

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

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 #7

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python 3.x
uses: uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0

Check failure on line 15 in .github/workflows/openmetrics.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/openmetrics.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
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