-
Notifications
You must be signed in to change notification settings - Fork 15
50 lines (44 loc) · 1.94 KB
/
api_validate.yml
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
50
name: api validate
on:
pull_request:
branches:
- main
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
working-directory: .github/workflows/scripts/dart/api_validate
run: dart pub get
- name: Install dependencies (api_validate)
working-directory: .github/workflows/scripts/dart/api_validate
run: dart pub get
- name: Verify formatting (api_validate)
working-directory: .github/workflows/scripts/dart/api_validate
run: dart format --set-exit-if-changed .
- name: Analyze project source (api_validate)
working-directory: .github/workflows/scripts/dart/api_validate
run: dart analyze
- name: Install dependencies (api_deploy)
working-directory: .github/workflows/scripts/dart/api_deploy
run: dart pub get
- name: Verify formatting Deploy (api_deploy)
working-directory: .github/workflows/scripts/dart/api_deploy
run: dart format --set-exit-if-changed .
- name: Analyze project source (api_deploy)
working-directory: .github/workflows/scripts/dart/api_deploy
run: dart analyze
- name: Install dependencies (made_in_flutter_belgium_data)
working-directory: .github/workflows/scripts/dart/made_in_flutter_belgium_data
run: dart pub get
- name: Verify formatting Deploy (made_in_flutter_belgium_data)
working-directory: .github/workflows/scripts/dart/made_in_flutter_belgium_data
run: dart format --set-exit-if-changed .
- name: Analyze project source (made_in_flutter_belgium_data)
working-directory: .github/workflows/scripts/dart/made_in_flutter_belgium_data
run: dart analyze
- name: Api validate
working-directory: .github/workflows/scripts/dart/api_validate
run: dart run bin/api_validate.dart