Merge pull request #36 from Spooky12/main #51
This file contains hidden or 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: analyze and test example | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- '**/*.md' | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: example/ | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'master' | |
- run: flutter --version | |
- run: flutter pub get | |
- run: dart format --set-exit-if-changed . | |
- run: flutter analyze . | |
- run: flutter test --coverage |