1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Use GitHub Actions for JSON validation

This commit is contained in:
tituspijean 2021-07-06 21:35:20 +02:00 committed by GitHub
parent 8510ba8973
commit 9c81942e23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

21
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: JSON validation
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 2.7
uses: actions/setup-python@v2
with:
python-version: 2.7
- name: Check apps.json
run: |
python -m json.tool apps.json
- name: Check locales
run: |
for i in ./locales/*.json; do python -m json.tool $i || return 1; done