Used flutter distributor instead of fastlane for deployment #117
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 Dev | |
on: | |
pull_request: | |
branches: | |
- dev | |
paths: | |
- 'lib/**' | |
- 'test/**' | |
jobs: | |
analyze_code_and_test: | |
# This job will run on ubuntu virtual machine | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout Repo code | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
# Setup the flutter environment. | |
- uses: subosito/flutter-action@v2 | |
- name: Get flutter dependencies. | |
run: flutter pub get | |
- name: Check for any formatting issues in the code. | |
run: dart format --set-exit-if-changed . | |
- name: Statically analyze the Dart code for any errors. | |
run: dart analyze | |
- name: Run Tests | |
run: flutter test |