Skip to content

Merge pull request #4 from Baseflow/create_alias #14

Merge pull request #4 from Baseflow/create_alias

Merge pull request #4 from Baseflow/create_alias #14

Workflow file for this run

name: flutter_ioc
on:
push:
branches: [ main ]
paths:
- 'packages/flutter_ioc/**'
- '.github/workflows/flutter_ioc.yaml'
pull_request:
branches: [ main ]
paths:
- 'packages/flutter_ioc/**'
- '.github/workflows/flutter_ioc.yaml'
jobs:
format:
name: CI - Flutter IoC
runs-on: ubuntu-latest
env:
source-directory: ./packages/flutter_ioc
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Download dependencies
run: flutter pub get
working-directory: ${{env.source-directory}}
- name: Run Flutter Format
run: dart format --set-exit-if-changed .
working-directory: ${{env.source-directory}}
- name: Run Flutter Analyzer
run: flutter analyze
working-directory: ${{env.source-directory}}
- name: Run unit tests
run: flutter test
working-directory: ${{env.source-directory}}