Skip to content

Align CI workflows with flutter-permission-handler - #330

Merged
mvanbeusekom merged 2 commits into
mainfrom
ci/align-workflows-with-permission-handler
Nov 5, 2026
Merged

mvanbeusekom merged 2 commits into
mainfrom
ci/align-workflows-with-permission-handler

Conversation

@mvanbeusekom

Copy link
Copy Markdown
Member

Brings the GitHub Actions setup in line with flutter-permission-handler.

  • geocoding_ci.yaml: the single CI entry point, run on push and pull request to main and by hand (a manual run checks every package). dorny/paths-filter decides which packages changed, and only those are checked. A new push to a PR cancels the previous run.
  • geocoding_package.yaml: a reusable workflow that runs format, analyze, unit tests (platform interface and app-facing package) and the example build for one package.
  • ci-result: always reports and fails when any package job failed or was cancelled. It is meant to be the only required status check.
  • The four per-package workflows are removed. no-response.yaml is unchanged.

Differences from permission_handler:

  • The packages here are not a pub workspace (each one resolves its siblings from pub.dev), so a package is only checked when its own folder or the CI workflows change.
  • geocoding_darwin is now checked. The old geocoding_ios.yaml watched geocoding_ios/**, which no longer exists, so the package had no CI. Its example is built for iOS and macOS.
  • No Codecov upload: the step and the Codecov badges are removed. The README build badges point at the new workflow.

A separate commit reformats geocoding_darwin and geocoding_platform_interface, which no longer passed dart format --set-exit-if-changed with Flutter 3.47. It changes formatting only.

Important

The main ruleset requires the status check App Facing package, which no longer exists after this change. Before merging, change the required check to ci-result.

Pre-launch Checklist

  • I made sure the project builds.
  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • This PR only changes one package (or documents why an exception is needed). CI and formatting change across packages; no package behaviour changes.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR does not need version changes.
  • I updated CHANGELOG.md with a new ## x.y.z section that matches the version in pubspec.yaml. Not needed: no release.
  • I updated/added relevant documentation (doc comments with ///).
  • I rebased onto main.
  • I added new tests to check the change I am making, or this PR does not need tests.
  • I made sure all existing and new tests are passing.
  • I ran dart format . and committed any changes.
  • I ran flutter analyze and fixed any errors.

🤖 Generated with Claude Code

mvanbeusekom and others added 2 commits November 5, 2026 11:33
geocoding_darwin and geocoding_platform_interface no longer passed
`dart format --set-exit-if-changed` with Flutter 3.47.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the per-package workflows with a single geocoding_ci.yaml entry
point that uses dorny/paths-filter to check only the packages that
changed, and a reusable geocoding_package.yaml that runs format, analyze,
unit tests and the example build. A ci-result job always reports and is
meant to be the only required status check.

geocoding_darwin is now checked (the old geocoding_ios workflow pointed
at a directory that no longer exists), building the example for iOS and
macOS. Code coverage upload is not included and the Codecov badges are
removed. README build badges point at the new workflow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mvanbeusekom
mvanbeusekom merged commit 16f6c21 into main Nov 5, 2026
6 checks passed
@mvanbeusekom
mvanbeusekom deleted the ci/align-workflows-with-permission-handler branch November 5, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant