ci: add Flutter CI workflow for PRs #124

Merged
addison merged 2 commits from exe-dev-bot/karriba:ci/flutter-tests into main 2026-01-30 19:11:41 -05:00
Collaborator

Adds Flutter CI that runs on PRs affecting app/:

  • Check formatting (just fmt-check)
  • Run static analysis (just lint)
  • Run tests (just test)

Also includes:

  • New just recipes: fmt-check, lint-fix
  • Fix all lint issues (WillPopScope deprecation, async context gaps)
  • Update widget test to match current nav bar (3 items)
  • Normalize line endings (CRLF → LF)
  • Update AGENTS.md with CI documentation

CI notes: The Forgejo runner has issues with some GitHub Actions (cache, external install scripts), so the workflow manually installs Flutter and just from release archives.

Prerequisite for spec 001 (Drift migration).

Adds Flutter CI that runs on PRs affecting `app/`: - Check formatting (`just fmt-check`) - Run static analysis (`just lint`) - Run tests (`just test`) **Also includes:** - New just recipes: `fmt-check`, `lint-fix` - Fix all lint issues (WillPopScope deprecation, async context gaps) - Update widget test to match current nav bar (3 items) - Normalize line endings (CRLF → LF) - Update AGENTS.md with CI documentation **CI notes:** The Forgejo runner has issues with some GitHub Actions (cache, external install scripts), so the workflow manually installs Flutter and just from release archives. Prerequisite for spec 001 (Drift migration).
ci: add Flutter CI workflow for PRs
Some checks failed
Flutter CI / test (pull_request) Failing after 3s
9cb1b5f994
Co-authored-by: Shelley <shelley@exe.dev>
ci: add Flutter CI workflow for PRs
Some checks failed
Flutter CI / test (pull_request) Failing after 2s
25a15fe41f
- Add flutter-ci.yml workflow that runs on PRs affecting app/
- Add just recipes: fmt-check, lint-fix
- Fix all lint issues:
  - Replace deprecated WillPopScope with PopScope
  - Fix use_build_context_synchronously warnings
  - Apply dart fix --apply for minor issues
  - Fix deprecated DropdownButtonFormField value -> initialValue
- Update widget test to match current nav bar (3 items, not 4)
- Normalize line endings (CRLF -> LF)

Co-authored-by: Shelley <shelley@exe.dev>
fix(ci): use full GitHub URL for flutter-action
Some checks failed
Flutter CI / test (pull_request) Failing after 18m0s
5b0bca000e
The Forgejo runner tries to fetch actions from data.forgejo.org mirror
which doesn't have subosito/flutter-action. Using full GitHub URL instead.

Co-authored-by: Shelley <shelley@exe.dev>
fix(ci): disable flutter-action cache
Some checks failed
Flutter CI / test (pull_request) Failing after 3m42s
b3c156c52d
The Forgejo runner's cache server is not accessible, causing auth errors.
Disabling cache for now - builds will be slower but will work.

Co-authored-by: Shelley <shelley@exe.dev>
fix(ci): manually install Flutter instead of using action
Some checks failed
Flutter CI / test (pull_request) Failing after 3m1s
11ae959541
The flutter-action fails with 'Bad credentials' error on this runner.
Manually downloading and installing Flutter from Google's storage instead.

Co-authored-by: Shelley <shelley@exe.dev>
fix(ci): simplify workflow to avoid action issues
Some checks failed
Flutter CI / test (pull_request) Failing after 3m4s
e94dcbcd3a
Combine all steps into simple shell commands to avoid issues with
GitHub Actions from different registries. Install Flutter and just
directly via curl.

Co-authored-by: Shelley <shelley@exe.dev>
fix(ci): install just from GitHub releases
All checks were successful
Flutter CI / test (pull_request) Successful in 3m59s
fb339adf97
just.systems returns 401 on this runner. Download just binary directly
from GitHub releases instead.

Co-authored-by: Shelley <shelley@exe.dev>
exe-dev-bot force-pushed ci/flutter-tests from fb339adf97
All checks were successful
Flutter CI / test (pull_request) Successful in 3m59s
to af3927cfc2
All checks were successful
Flutter CI / test (pull_request) Successful in 4m21s
2026-01-30 18:18:19 -05:00
Compare
exe-dev-bot force-pushed ci/flutter-tests from af3927cfc2
All checks were successful
Flutter CI / test (pull_request) Successful in 4m21s
to 1ddfaf90b0
All checks were successful
Flutter CI / test (pull_request) Successful in 4m55s
2026-01-30 18:20:07 -05:00
Compare
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kwila/karriba!124
No description provided.