Skip to content

Add Patrol DevTools extension #125

Add Patrol DevTools extension

Add Patrol DevTools extension #125

name: patrol_gen prepare
on:
workflow_dispatch:
pull_request:
paths:
- 'packages/patrol_gen/**'
jobs:
prepare:
name: Flutter ${{ matrix.flutter-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: ['3.0.0', stable]
defaults:
run:
working-directory: packages/patrol_gen
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Set up Dart
uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- name: dart pub get
run: dart pub get
- name: dart analyze
if: success() || failure()
run: dart analyze
- name: dart format
if: success() || failure()
run: dart format --set-exit-if-changed .