From 7e67859b2f92e335653b77efe6983f69941fa795 Mon Sep 17 00:00:00 2001 From: Doug Borg Date: Sat, 7 Feb 2026 13:57:50 -0700 Subject: [PATCH] Add PR validation workflow for analyze and test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No CI currently runs on pull requests — the only workflow triggers on releases. This adds a lightweight, secrets-free workflow that runs flutter analyze and flutter test on PRs to main and pushes to main. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/pr.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/pr.yml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 0000000..3acb74d --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,26 @@ +name: Validate PR + +on: + pull_request: + branches: [main] + push: + branches: [main] + +jobs: + validate: + name: Analyze & Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + + - uses: subosito/flutter-action@v2 + with: + channel: 'stable' + + - run: flutter pub get + + - name: Analyze + run: flutter analyze + + - name: Test + run: flutter test