Removes reference to deprecated addTime
method. (#133)
#8
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: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: setup flutter | |
run: | | |
git clone https://github.com/flutter/flutter.git -b stable --depth 1 | |
./flutter/bin/flutter doctor | |
- name: check dartfmt | |
run: ./flutter/bin/cache/dart-sdk/bin/dartfmt -n --set-exit-if-changed ./lib ./test ./example || exit 1 | |
- name: flutter unit test | |
run: ./flutter/bin/flutter test --coverage --coverage-path=lcov.info | |
- name: upload coverage | |
run: bash <(curl -s https://codecov.io/bash) -t ${{secrets.CODECOV_TOKEN}} |