Skip to content

Latest commit

 

History

History
executable file
·
28 lines (21 loc) · 766 Bytes

README.md

File metadata and controls

executable file
·
28 lines (21 loc) · 766 Bytes

dartanalyzer action

Validations on Push

This actions will check the formating of a Dart (or Flutter) project, using dartanalyzer.

dartanalyzer needs to download all dependencies to properly analyze the project, and it will execute a pub get before running. Make sure all necessary environment variables are provided to access all dependencies.

When using this action to analyze a Flutter project, pass it args = ["flutter] in order to access the Flutter SDK.

Example workflow

workflow "on push" {
  on = "push"
  resolves = ["dartanalyzer"]
}

action "dartanalyzer" {
  uses = "bltavares/actions/dartanalyzer@master"
  # Analyze Flutter project
  # args = ["flutter"]
}