mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-03-15 16:02:30 +00:00
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.
18 lines
327 B
YAML
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
|