Skip to main content

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

Define and run OpenCI workflows in Dart with branch triggers, shell commands, Flutter and Go 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
1.17k
downloads

Publisher

verified publisheropenci.org

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dart_jsonwebtoken, freezed_annotation, googleapis_auth, http, meta

More

Packages that depend on openci_workflow