Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.25 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.25 KB

flutter_template

Template for a Flutter project, with CI and CD.

How to use

  • Replace com.example.flutter_template with your application ID.
  • Add extra platforms with flutter create ..
  • Generate a Personal Access Token for the repo, with read and write access to commit statuses, contents, and deployments, and add it to your repository secrets as GH_TOKEN.

CI (.github/workflows/ci.yml)

  • Runs flutter analyze, dart format and flutter test.
  • The linter is customizable with analysis_options.yaml.

CD (.github/workflows/release.yml)

Miscellaneous

  • Thanks to .gitattributes, all your end-of-lines are converted to LF, except PNGs. If some of your binary files are corrupted, add exceptions to .gitattributes.