diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ec75a3a..c4df82f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - package: ["mobx_codegen", "mobx", "mobx_lint"] + package: ["mobx_codegen", "mobx"] version: ["stable"] steps: @@ -68,3 +68,31 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} flags: ${{ matrix.package }} files: ./${{ matrix.package }}/coverage/lcov.txt + + build_lint_packages: + runs-on: ubuntu-latest + + strategy: + matrix: + version: ["stable"] + + steps: + - uses: actions/checkout@v3 + - uses: subosito/flutter-action@v2 + with: + channel: ${{ matrix.channel }} + + - name: Install dependencies + working-directory: mobx_lint + run: dart pub get + + - name: Analyze + working-directory: mobx_lint + run: dart analyze --fatal-warnings --fatal-infos . + + - name: Run tests + working-directory: mobx_lint_flutter_test + run: | + flutter pub get + flutter test test +