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:
parent
8510ba8973
commit
9c81942e23
1 changed files with 21 additions and 0 deletions
21
.github/workflows/main.yml
vendored
Normal file
21
.github/workflows/main.yml
vendored
Normal 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
|
Loading…
Add table
Reference in a new issue