Skip to content

fix-scrolling-2-stefan #12

fix-scrolling-2-stefan

fix-scrolling-2-stefan #12

Workflow file for this run

name: check
on:
push:
branches:
- dev
- main
pull_request:
# Cancel previous builds by only allowing one concurrent build per ref.
concurrency:
group: continuous_ops_check-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
timeout-minutes: 5
runs-on: ubuntu-latest
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: Analyze app
run: |
flutter pub get
cd example
flutter pub get
cd ..
flutter analyze
#format
format:
timeout-minutes: 5
runs-on: ubuntu-latest
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: Check formatting
run: find . -name "*.dart" ! -name "*.g.dart" ! -name "*.freezed.dart" ! -path '*/generated/*' ! -path '*/gen/*' | xargs dart format --set-exit-if-changed
#tests