Skip to content

Commit aacb18e

Browse files
committed
add i18n validations in CI
1 parent 2a3e770 commit aacb18e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/actions.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,23 @@ jobs:
3535
- name: lint
3636
run: bundle exec rubocop
3737

38+
i18n:
39+
name: I18n
40+
runs-on: [ self-hosted, zendesk-stable ]
41+
env:
42+
ARTIFACTORY_API_KEY: ${{ secrets.ARTIFACTORY_API_KEY }}
43+
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
44+
BUNDLE_ZDREPO__JFROG__IO: "${{ secrets.BUNDLE_ZDREPO__JFROG__IO }}"
45+
steps:
46+
- uses: actions/checkout@v4
47+
- uses: zendesk/setup-ruby@v1
48+
with:
49+
ruby-version: 3.4
50+
- name: Validate
51+
run: |
52+
gem install zendesk_i18n_dev_tools --source https://$BUNDLE_ZDREPO__JFROG__IO@zdrepo.jfrog.io/zdrepo/api/gems/gems-local/
53+
validate_string_sweep_files config/locales/translations/zendesk_apps_support.yml
54+
3855
tests_successful:
3956
name: Tests passing?
4057
needs: tests

0 commit comments

Comments
 (0)