We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e2112d + 1ca6d7b commit e88f263Copy full SHA for e88f263
.github/workflows/pull_request.yml
@@ -60,9 +60,7 @@ jobs:
60
- name: Setup Python tools
61
run: |
62
python3 -m pip install -U pip
63
- python3 -m pip install \
64
- check-jsonschema \
65
- pyshacl
+ python3 -m pip install spdx3-validate
66
67
- name: Validate SPDX 2.2 & SPDX 2.3 Documents
68
@@ -72,11 +70,8 @@ jobs:
72
70
73
71
- name: Validate SPDX 3.0 Documents
74
75
- SPDX30_SCHEMA_URL="https://spdx.org/schema/3.0.0/spdx-json-schema.json"
76
- SPDX30_SHACL_URL="https://spdx.org/rdf/3.0.0/spdx-model.ttl"
77
-
78
for f in $(find . -type f -path '*/spdx3.0/*.json'); do
79
echo "Checking $f..."
80
- check-jsonschema -v --schemafile $SPDX30_SCHEMA_URL $f
81
- pyshacl -s $SPDX30_SHACL_URL -e $SPDX30_SHACL_URL $f
+ spdx3-validate -j $f
82
done
+
0 commit comments