Skip to content

fix(ci): dart must be setup - #5098

Merged
jtmcdole merged 2 commits into
flutter:mainfrom
jtmcdole:wait-action2
Jul 6, 2026
Merged

fix(ci): dart must be setup#5098
jtmcdole merged 2 commits into
flutter:mainfrom
jtmcdole:wait-action2

Conversation

@jtmcdole

@jtmcdole jtmcdole commented Jul 6, 2026

Copy link
Copy Markdown
Member

Action was missing "uses" clause to setup dart on the runner.

  • Includes a change to make gh act local development possible

- includes a change to make `gh act` local development possible
@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Jul 6, 2026
@jtmcdole

jtmcdole commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

Once this lands, I can update flutter/flutter#189020

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the wait_for_tests composite action to set up the Dart SDK, dynamically resolve the action path to support local testing tools like nektos/act, and temporarily bypass workspace resolution by creating a pubspec_overrides.yaml file. Feedback on these changes highlights two issues with the temporary file cleanup: if dart pub get fails, the cleanup step is skipped, and the process can overwrite a developer's existing local overrides. It is recommended to use a trap to guarantee cleanup on exit and to back up any existing overrides file.

Comment thread packages/wait_for_tests/action.yml Outdated

@ievdokdm ievdokdm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other than gemini-code-assist suggestion LGTM

@jtmcdole

jtmcdole commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

Addressed GCA feedback

@jtmcdole jtmcdole added the autosubmit Merge PR when tree becomes green via auto submit App. label Jul 6, 2026
@jtmcdole
jtmcdole merged commit c82f779 into flutter:main Jul 6, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App. CICD Run CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants