From 75e6cf131a33f9069c7b996045de244768239d7c Mon Sep 17 00:00:00 2001 From: Aleksey Kulikov Date: Fri, 29 Oct 2021 17:10:13 +0300 Subject: [PATCH] chore: use flutter tool in ci --- .github/workflows/master.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 089da16..f52b105 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -17,18 +17,18 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v2 - - uses: dart-lang/setup-dart@v1 + - uses: subosito/flutter-action@v1 with: sdk: dev - name: Install dependencies - run: dart pub get + run: flutter pub get - name: Verify formatting - run: dart format --output=none --set-exit-if-changed . + run: flutter format --output=none --set-exit-if-changed . - name: Analyze source code - run: dart analyze --fatal-infos + run: flutter analyze --fatal-infos test: needs: analyze @@ -45,15 +45,15 @@ jobs: git config --global core.eol lf - uses: actions/checkout@v2 - - uses: dart-lang/setup-dart@v1 + - uses: subosito/flutter-action@v1 with: sdk: dev - name: Install dependencies - run: dart pub get + run: flutter pub get - name: Download libgit2 library - run: dart run libgit2dart:setup + run: flutter pub run libgit2dart:setup - name: Run tests - run: dart test --exclude-tags "remote_fetch" --platform vm + run: flutter test --exclude-tags "remote_fetch" --platform vm