Files
topgrade/.github/workflows/check_locale_file.yml
Florian Nagel 29c555c394 Add i18n by using rust i18n (#807)
* 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>
2024-10-03 18:47:35 +08:00

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