From c5ed5a0efa0734f778f44d70d2e197b6233a0f85 Mon Sep 17 00:00:00 2001 From: Koji Wakamiya Date: Mon, 19 Dec 2022 00:47:54 +0900 Subject: [PATCH] Update GitHub Action --- .github/workflows/analyze.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/analyze.yaml b/.github/workflows/analyze.yaml index 88b1274..ede3a0f 100644 --- a/.github/workflows/analyze.yaml +++ b/.github/workflows/analyze.yaml @@ -2,9 +2,6 @@ name: analyze on: pull_request: - push: - branches: - - main jobs: build: @@ -12,11 +9,11 @@ jobs: timeout-minutes: 10 steps: - - uses: actions/checkout@v2 - - uses: dart-lang/setup-dart@v1 + - uses: actions/checkout@v3 - uses: subosito/flutter-action@v2 with: channel: 'stable' + cache: true - name: Install dependencies run: flutter pub get - uses: invertase/github-action-dart-analyzer@v1