Skip to content

Prepare changelogs #133

Prepare changelogs

Prepare changelogs #133

name: patrol_finders prepare
on:
workflow_dispatch:
pull_request:
paths:
- 'packages/patrol_finders/**'
jobs:
prepare:
name: Flutter ${{ matrix.flutter-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
flutter-version: ['3.24.x']
flutter-channel: ['stable']
defaults:
run:
working-directory: packages/patrol_finders
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ matrix.flutter-version }}
channel: ${{ matrix.flutter-channel }}
- name: flutter pub get
run: flutter pub get
- name: flutter test
if: success() || failure()
run: flutter test
- name: Run analyzer
if: success() || failure()
run: |
flutter analyze
dart run custom_lint
- name: dart format
if: success() || failure()
run: dart format --set-exit-if-changed .
- name: flutter pub publish --dry-run
if: success() || failure()
run: flutter pub publish --dry-run
- name: flutter pub get (example app)
if: success() || failure()
working-directory: ./packages/patrol_finders/example
run: flutter pub get
- name: flutter test (example app)
if: success() || failure()
working-directory: ./packages/patrol_finders/example
run: flutter test