Bump semver from 5.7.1 to 5.7.2 in /docs #986
Workflow file for this run
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: Build | |
on: [push, pull_request] | |
jobs: | |
build_dart_packages: | |
runs-on: ubuntu-latest | |
container: | |
image: dart:${{ matrix.version }} | |
strategy: | |
matrix: | |
package: ["mobx_codegen", "mobx"] | |
version: ["stable"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
working-directory: ${{ matrix.package }} | |
run: dart pub get | |
- name: Analyze | |
working-directory: ${{ matrix.package }} | |
run: dart analyze --fatal-warnings --fatal-infos . | |
- name: Run tests | |
working-directory: ${{ matrix.package }} | |
run: ../tool/coverage.sh | |
- name: Upload coverage to codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: ${{ matrix.package }} | |
files: ./${{ matrix.package }}/coverage/lcov.txt | |
build_flutter_packages: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
package: ["flutter_mobx"] | |
channel: ["stable", "beta"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: ${{ matrix.channel }} | |
- name: Install dependencies | |
run: flutter packages get | |
working-directory: ${{ matrix.package }} | |
- name: Analyze | |
run: flutter analyze | |
working-directory: ${{ matrix.package }} | |
- name: Run tests | |
run: flutter test --coverage --coverage-path coverage/lcov.txt | |
working-directory: ${{ matrix.package }} | |
- name: Upload coverage to codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: ${{ matrix.package }} | |
files: ./${{ matrix.package }}/coverage/lcov.txt |