File tree Expand file tree Collapse file tree 7 files changed +110
-681
lines changed Expand file tree Collapse file tree 7 files changed +110
-681
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : package:web
2
+ permissions : read-all
3
+
4
+ on :
5
+ # Run CI on pushes to the main branch and on PRs.
6
+ push :
7
+ branches : [ main ]
8
+ paths :
9
+ - ' .github/workflows/web.yaml'
10
+ - ' web/**'
11
+ pull_request :
12
+ paths :
13
+ - ' .github/workflows/web.yaml'
14
+ - ' web/**'
15
+ schedule :
16
+ - cron : " 0 0 * * 0"
17
+
18
+ defaults :
19
+ run :
20
+ working-directory : web/
21
+
22
+ jobs :
23
+ build :
24
+ runs-on : ubuntu-latest
25
+ strategy :
26
+ fail-fast : false
27
+ matrix :
28
+ sdk : [3.4, beta, dev]
29
+ test_config : ['-p chrome', '-p chrome -c dart2wasm']
30
+
31
+ steps :
32
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
33
+ - uses : dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
34
+ with :
35
+ sdk : ${{ matrix.sdk }}
36
+
37
+ - run : dart pub get
38
+ - run : dart format --output=none --set-exit-if-changed .
39
+ if : ${{ matrix.sdk == 'dev' }}
40
+ - run : dart analyze --fatal-infos
41
+ - run : dart test ${{ matrix.test_config }}
42
+
43
+ # Validate the 'dart fix' metadata.
44
+ - run : dart fix --compare-to-golden test_fixes
Original file line number Diff line number Diff line change
1
+ name : package:web_generator
2
+ permissions : read-all
3
+
4
+ on :
5
+ # Run CI on pushes to the main branch and on PRs.
6
+ push :
7
+ branches : [ main ]
8
+ paths :
9
+ - ' .github/workflows/web_generator.yaml'
10
+ - ' web_generator/**'
11
+ pull_request :
12
+ paths :
13
+ - ' .github/workflows/web_generator.yaml'
14
+ - ' web_generator/**'
15
+ schedule :
16
+ - cron : " 0 0 * * 0"
17
+
18
+ defaults :
19
+ run :
20
+ working-directory : web_generator/
21
+
22
+ jobs :
23
+ build :
24
+ runs-on : ubuntu-latest
25
+ strategy :
26
+ fail-fast : false
27
+ matrix :
28
+ sdk : [dev]
29
+ test_config : ['', '-p chrome', '-p chrome -c dart2wasm']
30
+
31
+ steps :
32
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
33
+ - uses : dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
34
+ with :
35
+ sdk : ${{ matrix.sdk }}
36
+
37
+ - run : dart pub get
38
+ - run : dart format --output=none --set-exit-if-changed .
39
+ - run : dart analyze --fatal-infos
40
+ - run : dart test ${{ matrix.test_config }}
41
+
42
+ # test bin/update_idl_bindings.dart
43
+ test_generate :
44
+ runs-on : ubuntu-latest
45
+
46
+ steps :
47
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
48
+ - uses : dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
49
+
50
+ - run : dart pub get
51
+ - run : dart pub -C ../web get
52
+ - run : dart bin/update_idl_bindings.dart
53
+ - run : dart analyze --fatal-infos ../web
54
+
55
+ # test bin/update_idl_bindings.dart --generate-all
56
+ test_generate_all :
57
+ runs-on : ubuntu-latest
58
+
59
+ steps :
60
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
61
+ - uses : dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
62
+
63
+ - run : dart pub get
64
+ - run : dart pub -C ../web get
65
+ - run : dart bin/update_idl_bindings.dart --generate-all
66
+ - run : dart analyze --fatal-infos ../web
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments