46
46
uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
47
47
with :
48
48
path : " ~/.pub-cache/hosted"
49
- key : " os:ubuntu-latest;pub-cache-hosted;sdk:3.3.0;packages:protobuf;commands:analyze_1- analyze_2"
49
+ key : " os:ubuntu-latest;pub-cache-hosted;sdk:3.3.0;packages:protobuf;commands:analyze_2-analyze_3 "
50
50
restore-keys : |
51
51
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.0;packages:protobuf
52
52
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.0
@@ -73,14 +73,14 @@ jobs:
73
73
if : " always() && steps.protobuf_pub_upgrade.conclusion == 'success'"
74
74
working-directory : protobuf
75
75
job_003 :
76
- name : " format_analyze; linux; Dart dev; PKG: api_benchmark; `dart format --output=none --set-exit-if-changed .`, `./../tool/setup.sh`, `./compile_protos.sh`"
76
+ name : " format_analyze; linux; Dart dev; PKG: api_benchmark; `dart format --output=none --set-exit-if-changed .`, `./../tool/setup.sh`, `./compile_protos.sh`, `dart analyze` "
77
77
runs-on : ubuntu-latest
78
78
steps :
79
79
- name : Cache Pub hosted dependencies
80
80
uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
81
81
with :
82
82
path : " ~/.pub-cache/hosted"
83
- key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:api_benchmark;commands:format-command_0-command_1"
83
+ key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:api_benchmark;commands:format-command_0-command_1-analyze_0 "
84
84
restore-keys : |
85
85
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:api_benchmark
86
86
os:ubuntu-latest;pub-cache-hosted;sdk:dev
@@ -110,6 +110,10 @@ jobs:
110
110
run : ./compile_protos.sh
111
111
if : " always() && steps.api_benchmark_pub_upgrade.conclusion == 'success'"
112
112
working-directory : api_benchmark
113
+ - name : api_benchmark; dart analyze
114
+ run : dart analyze
115
+ if : " always() && steps.api_benchmark_pub_upgrade.conclusion == 'success'"
116
+ working-directory : api_benchmark
113
117
job_004 :
114
118
name : " format_analyze; linux; Dart dev; PKG: benchmarks; `dart format --output=none --set-exit-if-changed .`, `./../tool/setup.sh`, `./tool/compile_protos.sh`, `dart analyze --fatal-infos`"
115
119
runs-on : ubuntu-latest
@@ -118,7 +122,7 @@ jobs:
118
122
uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
119
123
with :
120
124
path : " ~/.pub-cache/hosted"
121
- key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:benchmarks;commands:format-command_0-command_2-analyze_0 "
125
+ key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:benchmarks;commands:format-command_0-command_2-analyze_1 "
122
126
restore-keys : |
123
127
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:benchmarks
124
128
os:ubuntu-latest;pub-cache-hosted;sdk:dev
@@ -160,7 +164,7 @@ jobs:
160
164
uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
161
165
with :
162
166
path : " ~/.pub-cache/hosted"
163
- key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protobuf;commands:format-analyze_0 "
167
+ key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protobuf;commands:format-analyze_1 "
164
168
restore-keys : |
165
169
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protobuf
166
170
os:ubuntu-latest;pub-cache-hosted;sdk:dev
@@ -194,7 +198,7 @@ jobs:
194
198
uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
195
199
with :
196
200
path : " ~/.pub-cache/hosted"
197
- key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protoc_plugin;commands:format-command_0-command_3-analyze_0 "
201
+ key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protoc_plugin;commands:format-command_0-command_3-analyze_1 "
198
202
restore-keys : |
199
203
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protoc_plugin
200
204
os:ubuntu-latest;pub-cache-hosted;sdk:dev
0 commit comments