Added intl generation to ci

This commit is contained in:
Vadim 2022-12-05 21:56:17 +03:00
parent c02e8718d5
commit 4aa0c8e7c3

View file

@ -20,26 +20,18 @@ jobs:
- uses: subosito/flutter-action@v2
with:
channel: "stable"
# Note: This workflow uses the latest stable version of the Dart SDK.
# You can specify other versions if desired, see documentation here:
# https://github.com/dart-lang/setup-dart/blob/main/README.md
# - uses: dart-lang/setup-dart@v1
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603
- name: Check flutter version
run: flutter --version
- name: Install dependencies
run: flutter pub get
# Uncomment this step to verify the use of 'dart format' on each commit.
# - name: Verify formatting
# run: dart format --output=none --set-exit-if-changed .
- name: Generate intl
run: flutter pub run intl_utils:generate
# Consider passing '--fatal-infos' for slightly stricter analysis.
- name: Analyze project source
run: flutter analyze
# Your project will need to have tests in test/ and a dependency on
# package:test for this step to succeed. Note that Flutter projects will
# want to change this to 'flutter test'.
- name: Run tests
run: flutter test