mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Test localizable.xcstrings Validation action
This commit is contained in:
parent
61bee6c84f
commit
c595eba5df
1 changed files with 21 additions and 0 deletions
21
.github/workflows/xcstrings.yml
vendored
Normal file
21
.github/workflows/xcstrings.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
name: XCStrings Validation
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: macos-13
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Clone SwiftPolyglot
|
||||||
|
run: git clone https://github.com/appdecostudio/SwiftPolyglot.git
|
||||||
|
|
||||||
|
- name: validate translations
|
||||||
|
run: |
|
||||||
|
swift build --package-path ./SwiftPolyglot --configuration release
|
||||||
|
swift run --package-path ./SwiftPolyglot swiftpolyglot "ca,de,el,es,fi,fr,hi,it,ja,ko,nl,pl,pt-BR,ru,tr,uk,zh-Hans,zh-Hant" --errorOnMissing
|
||||||
Loading…
Reference in a new issue