Skip to main content

openci_workflow 0.4.6 copy "openci_workflow: ^0.4.6" to clipboard
openci_workflow: ^0.4.6 copied to clipboard

Define and run OpenCI workflows in Dart with branch triggers, shell commands, Dart and Flutter helpers, and live log streaming.

example/openci_workflow_example.dart

import 'package:openci_workflow/openci_workflow.dart';

Future<void> main() async {
  final openCI = await OpenCI.init(
    workflowName: 'Static Analysis',
    ciTriggers: [
      CITrigger.push(branch: 'main'),
      CITrigger.pullRequest(branch: 'main'),
    ],
  );

  await openCI.run('dart analyze --fatal-infos');
}
0
likes
0
points
6.13k
downloads

Publisher

verified publisheropenci.org

Weekly Downloads

Define and run OpenCI workflows in Dart with branch triggers, shell commands, Dart and Flutter helpers, and live log streaming.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

crypto, dart_jsonwebtoken, freezed_annotation, glob, googleapis_auth, http, meta, path, pub_semver, yaml

More

Packages that depend on openci_workflow