diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 96e2259..c986d75 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,11 +3,15 @@ name: CI on: push: branches: [ master ] + paths: + - 'lib/**.dart' + - 'test/**.dart' + - 'android/**' + - 'tool/**' + - 'pubspec.yaml' + - 'pubspec.lock' pull_request: branches: [ master ] - # Manual trigger. Worth having on a self-hosted runner: when a run fails for - # reasons outside the repo — the runner was down, a toolchain changed — this - # re-runs it without an empty commit to force one. workflow_dispatch: # Both jobs target a self-hosted runner, by capability rather than by hostname. @@ -47,6 +51,7 @@ jobs: release-apk: name: Release APK runs-on: flutter-android + needs: [analyze] steps: - uses: actions/checkout@v4