Skip to content

🚀 Support matching script and country code of locales with the text delegate #605

🚀 Support matching script and country code of locales with the text delegate

🚀 Support matching script and country code of locales with the text delegate #605

Workflow file for this run

name: Runnable (stable)
on:
push:
branches:
- main
paths-ignore:
- "**.md"
pull_request:
branches:
- main
paths-ignore:
- "**.md"
env:
MINIMUM_FLUTTER_VERSION: '3.16.0'
jobs:
analyze:
name: Analyze on ${{ matrix.os }} with ${{ matrix.flutter-version }} Flutter
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
flutter-version: [ min, latest ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: ${{ matrix.flutter-version == 'min' && env.MINIMUM_FLUTTER_VERSION || '' }}
- name: Log Dart/Flutter versions
run: |
dart --version
flutter --version
- name: Prepare dependencies
run: flutter pub get
- name: Check Dart code formatting
run: dart format . -o none --set-exit-if-changed
- name: Analyze Dart code
run: flutter analyze .
- name: Run tests
run: flutter test
- name: Generate docs
run: |
dart pub global activate dartdoc
dart pub global run dartdoc .
test_iOS:
needs: analyze
name: Test iOS with ${{ matrix.flutter-version }} Flutter
runs-on: macos-latest
strategy:
matrix:
flutter-version: [ min, latest ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- uses: subosito/[email protected]
with:
channel: stable
flutter-version: ${{ matrix.flutter-version == 'min' && env.MINIMUM_FLUTTER_VERSION || '' }}
- run: dart --version
- run: flutter --version
- run: flutter pub get
- run: cd example; flutter build ios --no-codesign
test_android:
needs: analyze
name: Test Android with ${{ matrix.flutter-version }} Flutter
runs-on: ubuntu-latest
strategy:
matrix:
flutter-version: [ min, latest ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- uses: subosito/[email protected]
with:
channel: stable
flutter-version: ${{ matrix.flutter-version == 'min' && env.MINIMUM_FLUTTER_VERSION || '' }}
- run: dart --version
- run: flutter --version
- run: flutter pub get
- run: cd example; flutter build apk --debug