Very Good Ventures Jan 24, 2022

Configuring workflows for your Flutter projects

Article Summary

Very Good Ventures just open-sourced their internal CI/CD secret weapon for Flutter teams. If you're still writing GitHub Actions from scratch for every project, you're working way too hard.

Very Good Ventures released Very Good Workflows, a collection of reusable GitHub Actions specifically designed for Flutter and Dart projects. The article walks through how to implement these pre-built workflows and customize them for your team's needs.

Key Takeaways

Critical Insight

Very Good Workflows eliminates repetitive CI/CD configuration by providing production-ready, customizable GitHub Actions for Flutter and Dart projects.

The dependency graph visualization trick alone could save your team hours of debugging in monorepo setups.

About This Article

Problem

The Flutter and Dart teams at Very Good Ventures kept writing the same GitHub Actions configuration over and over. Every new package meant manually setting up identical workflow steps from scratch.

Solution

Very Good Ventures built reusable GitHub workflows using GitHub's reusable workflows feature. Now teams can reference pre-built dart_package and flutter_package workflows with a single uses statement in their YAML configuration.

Impact

Teams can now set up complete CI/CD pipelines with customizable inputs for coverage excludes, SDK versions, and working directories. This cuts down on repetitive configuration and lets them use path-based filtering to skip builds when only documentation changes.