Skip to content

Commit

Permalink
Change format of templates in message.localization.json and add GitHu…
Browse files Browse the repository at this point in the history
…b Action to check the validity of json files
  • Loading branch information
TheSomeMan committed Jul 9, 2024
1 parent 22a3b11 commit 2eec831
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 103 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/check-json.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Check json files

on:
push:
branches:
- '**'
tags:
- '*'
pull_request:
branches:
- '**'
types: [opened, synchronize, reopened]

jobs:
check-json:
name: Check json files
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt update
sudo apt install -y jq
- name: Check json validity
run: |
for file in $(find . -name '*.json'); do
echo "Checking $file"
jq empty $file
done
Loading

0 comments on commit 2eec831

Please sign in to comment.