chore: Check of unused localizations

This commit is contained in:
Christian Kußowski 2026-03-04 07:57:03 +01:00
parent 2cb73d726c
commit 7f7e7eb928
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -12,6 +12,8 @@ jobs:
- uses: webiny/action-conventional-commits@v1.3.1 - uses: webiny/action-conventional-commits@v1.3.1
- run: ./scripts/generate-locale-config.sh - run: ./scripts/generate-locale-config.sh
- run: git diff --exit-code - run: git diff --exit-code
- name: Check for unused translations
run: flutter pub run translations_cleaner list-unused-terms -a
- run: cat .github/workflows/versions.env >> $GITHUB_ENV - run: cat .github/workflows/versions.env >> $GITHUB_ENV
- uses: subosito/flutter-action@v2 - uses: subosito/flutter-action@v2
with: with:
@ -20,7 +22,6 @@ jobs:
- run: flutter pub get - run: flutter pub get
- name: Check if pubspec.lock is up to date - name: Check if pubspec.lock is up to date
run: git diff --exit-code pubspec.lock run: git diff --exit-code pubspec.lock
- run: flutter gen-l10n
- name: Check formatting - name: Check formatting
run: dart format lib/ test/ --set-exit-if-changed run: dart format lib/ test/ --set-exit-if-changed
- name: Check import formatting - name: Check import formatting