fix: Add return statements in setScanPeriod and setBetweenScanPeriod to prevent IllegalStateException (#146) #99
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: Flutter CI | |
on: | |
push: | |
branches: | |
master | |
pull_request: | |
branches: | |
master | |
jobs: | |
build: | |
name: Build & Test on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- uses: subosito/flutter-action@v1 | |
with: | |
flutter-version: '2.0.5' | |
channel: 'stable' | |
- run: flutter packages get | |
- run: flutter format --set-exit-if-changed . | |
- run: flutter analyze . | |
- run: flutter test |