Profile operations, merge current discussion state as of 24-09-27 #527
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- 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 |