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