Check code for formatting & analysis issues in CI

parent dbad2b32
Pipeline #514 failed with stage
in 23 seconds
stages:
- check
- build
- deploy
- release
......@@ -12,6 +13,23 @@ stages:
- $PUB_CREDENTIALS
- $CI_API_KEY
format:
stage: check
image: google/dart:latest
tags:
- docker
script:
- dartfmt . --set-exit-if-changed --fix -n
analyze:
stage: check
image: google/dart:latest
tags:
- docker
script:
- pub get
- dartanalyzer . --fatal-infos --fatal-warnings
build:
stage: build
image: cirrusci/flutter:latest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment