-
Notifications
You must be signed in to change notification settings - Fork 10
42 lines (33 loc) · 1.02 KB
/
flutter.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Flutter
on:
push:
branches: [main]
paths:
- packages/google_vision_flutter/**
pull_request:
branches: [main]
paths:
- packages/google_vision_flutter/**
jobs:
pana:
uses: ./.github/workflows/pana-flutter.yaml
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Install dependencies
working-directory: ./packages/google_vision_flutter
run: flutter pub get
- name: Verify formatting
working-directory: ./packages/google_vision_flutter
run: dart format --output=none --set-exit-if-changed .
- name: Analyze project source
working-directory: ./packages/google_vision_flutter
run: dart analyze . --no-fatal-warnings