Skip to main content

openci_workflow 0.1.5 copy "openci_workflow: ^0.1.5" to clipboard
openci_workflow: ^0.1.5 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
160
points
1.17k
downloads

Documentation

API reference

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

Apache-2.0 (license)

Dependencies

dart_jsonwebtoken, freezed_annotation, googleapis_auth, http, meta

More

Packages that depend on openci_workflow