#34 - return empty json when bufferString is empty / update dependencies #28
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
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
name: Dart CI | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
uno: | ||
name: uno | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: '12.x' | ||
- uses: subosito/flutter-action@v1 | ||
with: | ||
flutter-version: '3.0.0' | ||
- name: get packages | ||
run: dart pub get | ||
- name: Format code | ||
run: flutter format lib/ | ||
run: flutter format test/ | ||
Check failure on line 31 in .github/workflows/dart.yml GitHub Actions / Dart CIInvalid workflow file
|
||
run: flutter format --dry-run --set-exit-if-changed lib/ | ||
run: flutter format --dry-run --set-exit-if-changed test/ | ||
- name: Dart Test | ||
run: flutter test --coverage | ||
- name: Codecov GitHub Action | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_UNO }} | ||