Skip to content

Enhance i18n:check task #1578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/check-i18n-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,9 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
version: 3.x

- name: Check i18n source file is up to date
- name: Check i18n source and translation files are up to date
run: task i18n:check
env:
TRANSIFEX_PROJECT: ${{ secrets.TRANSIFEX_PROJECT }}
TRANSIFEX_RESOURCE: ${{ secrets.TRANSIFEX_RESOURCE }}
TRANSIFEX_API_KEY: ${{ secrets.TRANSIFEX_API_KEY }}
3 changes: 1 addition & 2 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@ tasks:
cmds:
- task: go:vet
- task: go:lint
- task: i18n:check
- task: python:lint
- task: protoc:check

Expand Down Expand Up @@ -299,7 +298,7 @@ tasks:
i18n:check:
desc: Check if the i18n message catalog was updated
cmds:
- task: i18n:update
- task: i18n:pull
- git add -N ./i18n/data
- git diff --exit-code ./i18n/data

Expand Down