From 4aa0c8e7c3299dc68a404b8f66464e2c3d2f4ee7 Mon Sep 17 00:00:00 2001 From: Vadim <44135514+vodemn@users.noreply.github.com> Date: Mon, 5 Dec 2022 21:56:17 +0300 Subject: [PATCH] Added intl generation to ci --- .github/workflows/ci.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20a04fd..3ab48c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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