mirror of
https://github.com/wger-project/flutter.git
synced 2026-11-28 17:08:29 +01:00
Add script to check language lists stay in sync
This is also run on commits, so we get alerted when we forget to add new locales
This commit is contained in:
9
.github/workflows/analyze.yml
vendored
9
.github/workflows/analyze.yml
vendored
@@ -5,12 +5,18 @@ on:
|
||||
- '**.dart'
|
||||
- 'pubspec.yaml'
|
||||
- 'analysis_options.yaml'
|
||||
- 'lib/l10n/**'
|
||||
- 'ios/Runner/Info.plist'
|
||||
- 'android/app/src/main/res/xml/locales_config.xml'
|
||||
pull_request:
|
||||
branches: [ master, ]
|
||||
paths:
|
||||
- '**/*.dart'
|
||||
- 'pubspec.yaml'
|
||||
- 'analysis_options.yaml'
|
||||
- 'lib/l10n/**'
|
||||
- 'ios/Runner/Info.plist'
|
||||
- 'android/app/src/main/res/xml/locales_config.xml'
|
||||
- '.github/actions/flutter-common/action.yml'
|
||||
- '.github/workflows/analyze.yml'
|
||||
workflow_call:
|
||||
@@ -34,3 +40,6 @@ jobs:
|
||||
|
||||
- name: Analyze
|
||||
run: flutter analyze --no-fatal-infos --no-fatal-warnings
|
||||
|
||||
- name: Check locale lists are in sync
|
||||
run: dart run tool/check_locales.dart
|
||||
|
||||
Reference in New Issue
Block a user