2.6 KiB
2.6 KiB
0.2.1
- Static main workflow YAML map keys default to each package's
name:and fall back to<parent_dir>_<package_name>only when two or more packages share a name. Avoids prefixing in the common case while still handling duplicate-name:repos. Thepackage_name:input passed to the reusable workflow keeps the actual package name for codecov flag display. - Static reusable workflows now gate the test and codecov-upload steps on a new
has_unit_testsinput. Packages without atest/directory no longer attempt to rundart test/flutter testor upload coverage. The input defaults totruefor back-compat with workflows that don't pass it.
0.2.0
- Generated dynamic workflow now pins
fetch-depth: 0on the setup-job checkout. Without it,affected_packagesfails on every PR because the default shallow checkout doesn't includeorigin/main. The static main workflow gets the same fix so dorny/paths-filter can diff on push events. - Generated workflow now includes a
workflow_dispatch:trigger and bypasses the affected-packages diff when triggered manually, so first-push (no diff base) and "force a full re-check" scenarios actually run CI against all packages instead of producing a green-but-empty run. - Generated workflow emits a GitHub notice when the diff yields no affected packages, pointing users at the manual Run workflow button so a skipped matrix isn't mistaken for a full pass.
- Bumped static action pins to
actions/checkout@v6so--no-update-actionsdoesn't ship a Node.js 20 deprecation warning. shorebird_ci generatenow bumps action versions to current latest automatically after writing the workflow files. Pass--no-update-actionsto skip the network call.shorebird_ci affected_packagesprints a friendly error instead of a Dart stack trace when run outside a git repository or against an unreachable base ref.--repo-rootdefaults togit rev-parse --show-toplevelwhen not specified, matching git's own behavior. Pass--repo-rootexplicitly to override.- README: remove stale "not yet on pub.dev" note; document why subpackages are covered both as standalone matrix jobs and inside the root Flutter job.
- Add
executables:declaration sodart pub global activate shorebird_cicreates ashorebird_cishim onPATH. Previously users had to invoke viadart pub global run shorebird_ci:shorebird_ci. (rolled in from the unreleased 0.1.1)
0.1.1
- Add
executables:declaration sodart pub global activate shorebird_cicreates ashorebird_cishim onPATH. Previously users had to invoke viadart pub global run shorebird_ci:shorebird_ci.
0.1.0
- Initial release.