Skip to content

fix ci

fix ci #35

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@v2
id: fvm-config-action
- 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@v2
id: fvm-config-action
- 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/*')