-
Notifications
You must be signed in to change notification settings - Fork 205
50 lines (47 loc) · 1.83 KB
/
dart.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: Dart CI
on:
pull_request:
branches: [main]
push:
branches: [main]
env:
PUB_ENVIRONMENT: bot.github
jobs:
analyze:
continue-on-error: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
with:
sdk: main
- name: dart pub get (specification)
run: dart pub get
working-directory: specification
- name: dart pub get (working/macros/example)
run: dart pub get
working-directory: working/macros/example
- name: dart pub get (working/macros/dart_model)
run: testing/pub_get
working-directory: working/macros/dart_model
- name: dart pub get (accepted/2.3/spread-collections/benchmarks)
run: dart pub get
working-directory: accepted/2.3/spread-collections/benchmarks
- name: dart pub get (accepted/future-releases/0546-patterns/exhaustiveness_prototype)
run: dart pub get
working-directory: accepted/future-releases/0546-patterns/exhaustiveness_prototype
- name: dart analyze --fatal-infos .
run: dart analyze --fatal-infos .
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
with:
sdk: main
- name: dart pub get (accepted/future-releases/0546-patterns/exhaustiveness_prototype)
run: dart pub get
working-directory: accepted/future-releases/0546-patterns/exhaustiveness_prototype
- name: dart test (accepted/future-releases/0546-patterns/exhaustiveness_prototype)
run: dart test
working-directory: accepted/future-releases/0546-patterns/exhaustiveness_prototype