Skip to content

Commit 9a219f3

Browse files
committed
ci: also verify the example sbom
1 parent bccb68a commit 9a219f3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/cmake-multi-platform.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
push:
77
branches: [ "main" ]
88
pull_request:
9-
branches: [ "main" ]
109

1110
jobs:
1211
build:
@@ -52,13 +51,17 @@ jobs:
5251
- name: setup python
5352
uses: actions/setup-python@v3
5453
with:
55-
python-version: "3.10"
54+
python-version: "3.12"
5655

5756
- name: Install spdx-tools
5857
run: |
5958
python -m pip install --upgrade pip
6059
pip install spdx-tools
6160
61+
- name: Validate example sbom
62+
run: |
63+
pyspdxtools -i ${{ github.workspace }}/example/output/*.spdx
64+
6265
- name: Configure CMake
6366
run: >
6467
cmake -B ${{ steps.strings.outputs.build-output-dir }}

0 commit comments

Comments
 (0)