Skip to content

Commit c595eba

Browse files
committed
Test localizable.xcstrings Validation action
1 parent 61bee6c commit c595eba

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/xcstrings.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: XCStrings Validation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
runs-on: macos-13
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Clone SwiftPolyglot
16+
run: git clone https://github.com/appdecostudio/SwiftPolyglot.git
17+
18+
- name: validate translations
19+
run: |
20+
swift build --package-path ./SwiftPolyglot --configuration release
21+
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

0 commit comments

Comments
 (0)