From cc7862f9b2073b306ebc452614011b76db94bac1 Mon Sep 17 00:00:00 2001 From: Tommy Chow Date: Fri, 5 Aug 2022 23:07:57 -0400 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f93771fc..bc5e954b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,14 +1,10 @@ name: CI - on: push: - branches: [ main ] - pull_request: - branches: [ main ] - + branches: main jobs: test: - name: Test on ${{ matrix.os }} + name: Check and test on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: @@ -16,9 +12,9 @@ jobs: steps: - uses: actions/checkout@v3 - uses: subosito/flutter-action@v2 - + with: + cache: true - run: flutter doctor -v - run: flutter pub get - run: flutter analyze - - run: flutter format . - run: flutter test