Beacon screen development #433
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: [main, development] | |
pull_request: | |
branches: [main, development] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
platform: [windows-latest, ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v2 | |
with: | |
java-version: '12.x' | |
- uses: subosito/flutter-action@v3 | |
with: | |
flutter-version: '3.22.2' | |
architecture: x64 | |
- run: flutter pub get | |
- run: dart format . --set-exit-if-changed | |
- run: flutter analyze | |
- run: flutter test | |
build: | |
strategy: | |
matrix: | |
platform: [windows-latest, macos-latest, ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v2 | |
with: | |
java-version: '12.x' | |
- uses: subosito/flutter-action@v3 | |
with: | |
flutter-version: '3.22.2' | |
architecture: x64 | |
- run: flutter pub get | |
- run: dart format . --set-exit-if-changed | |
- run: flutter analyze | |
- run: flutter test | |
# Uncomment the following lines if you want to build and upload artifacts | |
# - run: flutter build apk | |
# - uses: actions/upload-artifact@v3 | |
# with: | |
# name: release-apk | |
# path: build/app/outputs/apk/release/app-release.apk |