Skip to content

minor fixes

minor fixes #55

Workflow file for this run

name: Flutter
# This workflow is triggered on pushes to the repository.
on:
push:
branches: [main]
# on: push # Default will running for every branch.
jobs:
build:
# This job will run on ubuntu virtual machine
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
# Setup Java environment in order to build the Android app.
- uses: actions/checkout@v3
- uses: actions/setup-java@v1
with:
java-version: "12.x"
# Setup the flutter environment.
- uses: subosito/flutter-action@v2
with:
channel: "stable" # 'dev', 'alpha', 'beta', default to: 'stable'
flutter-version: "3.10.x" # you can also specify exact version of flutter
# Get flutter dependencies.
- name: Install Dependencies
run: flutter pub get
# Check for any formatting issues in the code.
# - run: flutter format --set-exit-if-changed .
# Statically analyze the Dart code for any errors
- name: Analyze Source Code
run: flutter analyze
# Run Flutter Doctor
- name: Run Flutter Doctor
run: flutter doctor -v
# Run widget tests for our flutter project.
- run: flutter test