chore: typo #18
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: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: google/dart:2.10.0 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: pub get | |
- name: Format | |
run: dartfmt --dry-run --set-exit-if-changed . | |
- name: Analyze | |
run: dart analyze --fatal-infos --fatal-warnings . | |
- name: Run tests | |
run: dart test --coverage=coverage && pub run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.packages --report-on=lib | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |