Added pull request check
This commit is contained in:
@@ -55,3 +55,30 @@ jobs:
|
||||
|
||||
- name: Run tests
|
||||
run: flutter test
|
||||
|
||||
localizations:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# Required for Flutter action
|
||||
- name: Install jq
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y jq
|
||||
|
||||
- name: Set up Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: stable
|
||||
flutter-version: 3.41.0
|
||||
|
||||
- name: Get dependencies
|
||||
run: |
|
||||
git config --global --add safe.directory /opt/hostedtoolcache/flutter/stable-3.41.0-x64
|
||||
flutter pub get
|
||||
|
||||
- name: Check for untranslated messages
|
||||
run: |
|
||||
flutter pub run intl_utils:generate --output-dir=lib/l10n --no-use-deferred-loading
|
||||
|
||||
Reference in New Issue
Block a user