Pub package version should be consistent and fix ci setup command #11
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: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# Setup the flutter environment. | |
- uses: subosito/[email protected] | |
- name: Install Dependencies | |
run: flutter packages get | |
- name: Format | |
run: dart format --set-exit-if-changed lib | |
- name: Analyze | |
run: flutter analyze --no-pub |