> For the complete documentation index, see [llms.txt](https://hadrien-lejard.gitbook.io/chopper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hadrien-lejard.gitbook.io/chopper/ci_setup.md).

# CI Setup

The generated GitHub Actions workflow is `.github/workflows/dart.yml`.

## Generating the CI config

The workflow is generated from `mono_repo.yaml` with [`mono_repo`](https://pub.dev/packages/mono_repo). The committed workflow currently records `package:mono_repo` version `6.6.3`.

After changing `mono_repo.yaml` or package test/analyze coverage, regenerate the workflow:

```bash
dart pub global activate mono_repo 6.6.3
dart pub global run mono_repo generate
```

Validate that the committed workflow is in sync:

```bash
dart pub global run mono_repo generate --validate
```

## Additional workflows

`minimum_dart.yml` runs analyze and tests with the minimum Dart SDK declared in each package's `pubspec.yaml`. The publish workflows are maintained separately and are not generated by `mono_repo`.
