-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (41 loc) · 1.23 KB
/
reach_five_identity_repo.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
43
44
45
46
47
48
49
name: Test Flutter Reach Five Identity Repo
on:
push:
paths:
- "reach_five_identity_repo/**"
- ".github/workflows/reach_five_identity_repo.yaml"
branches:
- main
pull_request:
paths:
- "reach_five_identity_repo/**"
- ".github/workflows/reach_five_identity_repo.yaml"
branches:
- main
jobs:
test:
strategy:
matrix: {dir: ["reach_five_identity_repo"]}
runs-on: ubuntu-20.04
defaults:
run:
working-directory: ${{ matrix.dir }}
steps:
- uses: actions/[email protected]
- id: dotenv
uses: falti/[email protected]
with:
path: .github/workflows/.env
- uses: subosito/[email protected]
with:
flutter-version: ${{ steps.dotenv.outputs.flutter_version }}
channel: "stable"
cache: true
cache-key: ${{ runner.os }}-flutter-${{ steps.dotenv.outputs.flutter_version }}
cache-path: ${{ runner.tool_cache }}/flutter-${{ steps.dotenv.outputs.flutter_version }}
- name: Install Dependencies
run: flutter packages get
- name: Format
run: dart format --set-exit-if-changed lib
- name: Analyze
run: flutter analyze lib