ci: add CI workflow for tests, format check, and static analysis#75
Merged
Conversation
Co-authored-by: fredeil <17533404+fredeil@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add CI workflow for tests, format check, and static analysis
ci: add CI workflow for tests, format check, and static analysis
Feb 26, 2026
fredeil
approved these changes
Feb 26, 2026
This was referenced Mar 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No CI workflow existed, so code changes were never automatically verified on PRs or pushes to
master.Changes
.github/workflows/ci.yml— triggers on push/PR tomaster; runsdart pub get,dart formatcheck,dart analyze --fatal-infos, anddart testGITHUB_TOKENscoped tocontents: read(least privilege)Uses only
actions/checkout@v4anddart-lang/setup-dart@v1; no new dependencies.Original prompt
This section details on the original issue you should resolve
<issue_title>[Repo Assist] ci: add CI workflow for tests, format check, and static analysis</issue_title>
<issue_description>🤖 This PR was created by Repo Assist, an automated AI assistant for this repository.
The repository currently has no CI workflow that runs on pull requests or pushes to
master. This means code changes are never automatically verified in CI.This PR adds
.github/workflows/ci.yml, a minimal CI workflow that runs on every push tomasterand every PR targetingmaster.What it does
These are exactly the same commands documented in
.github/copilot-instructions.mdand used for local development.Rationale
dart formatcheck prevents unformatted code from entering the codebase.dart-lang/setup-dart@v1(official Dart team action) andactions/checkout@v4(GitHub standard action).Closes #71
Supersedes #73
Test Status
This PR only adds a workflow file — no Dart code changes. The workflow itself cannot be executed in the current sandbox environment, but its contents are identical to the commands documented in
copilot-instructions.mdand verified to work locally in this repo.To apply the patch locally:
Show patch (49 lines)
<agent_instructions>Implement the repo assist recommendations</agent_instructions>
Comments on the Issue (you are @copilot in this section)
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.