* feat: initial i18n setup * style: fmt * feat: i18n support for new steps * fix: build on Linux * fix: build on Linux * refactor: rm unused translation keys --------- Co-authored-by: Steve Lau <stevelauc@outlook.com>
23 lines
545 B
YAML
23 lines
545 B
YAML
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
name: Check i18n locale file
|
|
|
|
jobs:
|
|
check_locale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install checker
|
|
# Build it with the dev profile as this is faster and the checker still works
|
|
run: |
|
|
cargo install --git https://github.com/topgrade-rs/topgrade_i18n_locale_file_checker --profile dev
|
|
|
|
- name: Run the checker
|
|
run: topgrade_i18n_locale_file_checker ./locales/app.yml
|