Merge pull request #18 from Maksimka101/fix/combine-initialization-er… #49
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: compose action | |
on: | |
push: | |
paths-ignore: | |
- "**/*README*.md" | |
workflow_dispatch: | |
jobs: | |
analyze: | |
name: flutter analyze | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: "8" | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: "stable" | |
- run: | | |
flutter pub get | |
flutter analyze | |
flutter pub global activate pana | |
pana --no-warning . | |
test: | |
name: flutter test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: "8" | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: "stable" | |
- run: | | |
flutter pub get | |
flutter test --coverage | |
- uses: codecov/codecov-action@v2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: ./coverage |