Add documentation for Markdown headings used in spec generation #532
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-License-Identifier: Apache-2.0 | |
# SPDX-FileCopyrightText: Copyright 2024 The SPDX Contributors | |
name: validate PR | |
on: | |
pull_request | |
jobs: | |
doit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | |
with: | |
python-version: "3.12" | |
- name: get spec-parser | |
run: | | |
git clone --depth=1 --single-branch --branch=main https://github.com/spdx/spec-parser/ ${{ runner.temp }}/spec-parser | |
python ${{ runner.temp }}/spec-parser/main.py -h | |
- name: run spec-parser to validate | |
run: | | |
python ${{ runner.temp }}/spec-parser/main.py -n model |