File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change 2121 cache : " pip"
2222 - name : Install Python dependencies
2323 run : |
24- python3 -m pip install check-jsonschema==0.31.0 pyshacl==0.30.0 spdx3-validate==0.0.5
24+ python3 -m pip install check-jsonschema==0.34.1 spdx3-validate==0.0.5
2525 - name : Install dependencies
2626 run : |
2727 sudo apt install -y gawk
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ echo "RDF resolved : $(curl -I "$RDF_URL" 2>/dev/null | grep -i "location:"
2929echo " Context : $CONTEXT_URL "
3030echo " Context resolved : $( curl -I " $CONTEXT_URL " 2> /dev/null | grep -i " location:" | awk ' {print $2}' ) "
3131echo " $( check-jsonschema --version) "
32- echo -n " $( pyshacl --version) "
3332echo " spdx3-validate version: $( spdx3-validate --version) "
3433echo " "
3534
@@ -41,14 +40,6 @@ check_schema() {
4140 " $1 "
4241}
4342
44- check_model () {
45- echo " Checking model (pyschacl): $1 "
46- pyshacl \
47- --shacl $RDF_URL \
48- --ont-graph $RDF_URL \
49- " $1 "
50- }
51-
5243check_spdx () {
5344 echo " SPDX 3 Validating (spdx3-validate): $1 "
5445 spdx3-validate --json $1
@@ -59,8 +50,6 @@ if [ "$(ls $THIS_DIR/../$JSON_DIR/*.json 2>/dev/null)" ]; then
5950 for f in $THIS_DIR /../$JSON_DIR /* .json; do
6051 check_schema $f
6152 echo " "
62- check_model $f
63- echo " "
6453 check_spdx $f
6554 echo " "
6655 done
@@ -117,9 +106,6 @@ HEREDOC
117106 done
118107
119108 echo " {}]" >> $COMBINED_JSON
120-
121- check_model $COMBINED_JSON
122- echo " "
123109 check_spdx $COMBINED_JSON
124110 echo " "
125111done
You can’t perform that action at this time.
0 commit comments