Patrick Lodder cf485309c5
ci: add linter for translations
Adds a lint job to the CI where we can do sanity analysis on
included files to help spot errors on non-cpp source files
that may cause problems during runtime.

This first job implements contrib/devtools/check-translations.py
that alerts the repository of errors in the translation files in
src/qt/locale. Errors in a translation file are otherwise only
becoming visible during runtime.
2023-10-19 17:12:45 -04:00

18 lines
327 B
YAML

name: linter
on:
push:
paths-ignore:
- '**/*.md'
pull_request:
paths-ignore:
- '**/*.md'
jobs:
translations:
name: Check Translations
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Lint translation files
run: python3 contrib/devtools/check-translations.py