fix bug with nullable generic field #146
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: Dart CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Analyze and Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/[email protected] | |
with: | |
sdk: 3.0.2 | |
- name: Bootstrap | |
run: | | |
dart pub global activate melos | |
dart pub global activate coverage | |
melos bootstrap | |
- name: Check formatting | |
run: melos format | |
- name: Generate Code | |
run: melos build | |
- name: Lint | |
run: melos analyze | |
- name: Run Unit tests | |
run: melos coverage | |
- name: Upload Coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
files: coverage/lcov.info |