feat: added vgv analysis, dart fix #958
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
check-format: | |
name: Check format using flutter format | |
runs-on: ubuntu-latest | |
container: cirrusci/flutter:stable | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Check format | |
run: flutter format -n --set-exit-if-changed . | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
container: cirrusci/flutter:stable | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Get dependencies for example | |
run: flutter pub get | |
working-directory: example | |
- name: Lint using flutter analyze | |
run: flutter analyze | |
# test: | |
# name: Test | |
# runs-on: ubuntu-latest | |
# container: cirrusci/flutter:stable | |
# | |
# steps: | |
# - name: Checkout code | |
# uses: actions/checkout@v2 | |
# - name: Test using flutter test | |
# run: flutter test |