mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 18:16:13 +01:00
[TASK] Add xliff lint (#61)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
This commit is contained in:
parent
f34cfb701b
commit
da2be7411a
2 changed files with 2236 additions and 0 deletions
2223
.github/build/xliff-core-1.2-strict.xsd
vendored
Normal file
2223
.github/build/xliff-core-1.2-strict.xsd
vendored
Normal file
File diff suppressed because it is too large
Load diff
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
@ -54,6 +54,19 @@ jobs:
|
||||||
- "php:sniff"
|
- "php:sniff"
|
||||||
php-version:
|
php-version:
|
||||||
- 7.3
|
- 7.3
|
||||||
|
xliff-lint:
|
||||||
|
name: "Xliff linter"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
-
|
||||||
|
name: "Install xmllint"
|
||||||
|
run: "sudo apt-get install libxml2-utils"
|
||||||
|
-
|
||||||
|
name: "Run lint"
|
||||||
|
run: "xmllint --schema .github/build/xliff-core-1.2-strict.xsd --noout $(find Resources -name '*.xlf')"
|
||||||
unit-tests:
|
unit-tests:
|
||||||
name: "Unit tests"
|
name: "Unit tests"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue