Skip to content

Merge branch 'main' of github.com:tappeddev/tapped_test_toolkit into … #27

Merge branch 'main' of github.com:tappeddev/tapped_test_toolkit into …

Merge branch 'main' of github.com:tappeddev/tapped_test_toolkit into … #27

Workflow file for this run

name: tapped_toolkit
on: [push]
# Cancel previous builds by only allowing one concurrent build per ref.
concurrency:
group: tapped_test_toolkit-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
timeout-minutes: 5
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: kuhnroyal/flutter-fvm-config-action@v1
with:
path: '.fvm/fvm_config.json'
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: ${{ env.FLUTTER_CHANNEL }}
- name: Get all dependencies
run: flutter pub get
- name: analyze app
run: flutter analyze
format:
timeout-minutes: 5
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: kuhnroyal/flutter-fvm-config-action@v1
with:
path: '.fvm/fvm_config.json'
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: ${{ env.FLUTTER_CHANNEL }}
- name: Get all dependencies
run: flutter pub get
- name: Check formatting
run: dart format -o none --set-exit-if-changed $(find . -name '*.dart' ! -name '*.g.dart' ! -name '*.freezed.dart' ! -path '*/generated/*' ! -path '*/gen/*')