build: move json validity check to libtrx

This commit is contained in:
Marcin Kurczewski 2024-04-30 10:11:41 +02:00
parent 6d71455dd8
commit aa00b9e86d
No known key found for this signature in database
GPG key ID: CC65E6FD28CAE42A
2 changed files with 1 additions and 16 deletions

View file

@ -15,21 +15,6 @@ jobs:
submodules: 'true'
fetch-depth: 0
- name: Check JSON files validity
shell: python
run: |
import json
from pathlib import Path
errors = False
for path in Path('.').rglob('**/*.json'):
try:
json.loads(path.read_text())
except json.JSONDecodeError as ex:
print(f'Malformed JSON in {path}: {ex}')
errors = True
if errors:
exit(1)
- name: Install dependencies
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -

@ -1 +1 @@
Subproject commit c43b761b702012017a76248d34cde5e5af929b1b
Subproject commit 7a11c77fbdf10c2f959258d57cc8d11a6cd915dc