A minimal Flutter counter app with a widget test.
The workflow lives at .github/workflows/ci.yml and declares runs-on: ubuntu-latest. Both are GitHub defaults, unchanged. Nothing in this repository was renamed or rewritten to run here:
.github/workflows/is read directly. There is no.forgejo/directory.ubuntu-latestroutes to a Codebahn runner in Paris.actions/checkoutresolves from GitHub automatically.
On every push and pull request:
- Installs a pinned Flutter SDK
- Runs
flutter analyze --fatal-infos, so a lint hint fails the build - Runs the widget test with
flutter test
The SDK install is a plain wget and tar against the official Flutter release archive rather than a marketplace action. Codebahn has no marketplace, and pinning the version in the workflow keeps the build reproducible with one less dependency.
Need more than the 3 GB default? Set runs-on: codebahn-medium for 7 GB. See CI runners.
flutter pub get
flutter analyze --fatal-infos
flutter test
flutter run