Skip to content

fix bug

fix bug #4

Workflow file for this run

name: Flutter CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
- name: Cache pub packages
uses: actions/cache@v3
with:
path: |
~/.pub-cache
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }}
restore-keys: |
${{ runner.os }}-pub-
- name: Flutter pub get
run: flutter pub get
- name: Analyze
run: flutter analyze --no-pub
- name: Run tests
run: flutter test