Skip to content

Commit

Permalink
Merge branch 'validation' of https://github.com/JPEWdev/spdx-examples
Browse files Browse the repository at this point in the history
…into JPEWdev-validation
  • Loading branch information
bact committed Jun 14, 2024
2 parents a1fa8cc + 979ad31 commit 64ec58f
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,23 @@ jobs:
-not -path './tools-java/*' \
-not -path '*/spdx2.2/*' \
-not -path '*/spdx2.3/*' \
-not -path '*/spdx3.0/*' | tee flist.txt
-not -path '*/spdx3.0/*' > flist.txt
test "$(cat flist.txt | wc -l)" = "0"
if [ "$(cat flist.txt | wc -l)" != "0" ]; then
echo "The following files are in the wrong location and will not be checked:"
cat flist.txt
exit 1
fi
- name: Look for files with the wrong extension
run: |
find . -name '*.jsonld' > flist.txt
if [ "$(cat flist.txt | wc -l)" != "0" ]; then
echo "The following files have the wrong extension and will not be checked:"
cat flist.txt
exit 1
fi
- name: Update apt
run: |
Expand Down

0 comments on commit 64ec58f

Please sign in to comment.