@@ -115,30 +115,6 @@ task:
115
115
- else
116
116
- ./script/tool_runner.sh federation-safety-check
117
117
- fi
118
- - name : analyze
119
- env :
120
- matrix :
121
- CHANNEL : " master"
122
- CHANNEL : " stable"
123
- analyze_tool_script :
124
- - cd script/tool
125
- - dart analyze --fatal-infos
126
- analyze_script :
127
- # DO NOT change the custom-analysis argument here without changing the Dart repo.
128
- # See the comment in script/configs/custom_analysis.yaml for details.
129
- - ./script/tool_runner.sh analyze --custom-analysis=script/configs/custom_analysis.yaml
130
- pathified_analyze_script :
131
- # Re-run analysis with path-based dependencies to ensure that publishing
132
- # the changes won't break analysis of other packages in the respository
133
- # that depend on it.
134
- - ./script/tool_runner.sh make-deps-path-based --target-dependencies-with-non-breaking-updates
135
- # This uses --run-on-dirty-packages rather than --packages-for-branch
136
- # since only the packages changed by 'make-deps-path-based' need to be
137
- # checked.
138
- - $PLUGIN_TOOL_COMMAND analyze --run-on-dirty-packages --log-timing --custom-analysis=script/configs/custom_analysis.yaml
139
- # Restore the tree to a clean state, to avoid accidental issues if
140
- # other script steps are added to this task.
141
- - git checkout .
142
118
# Does a sanity check that packages at least pass analysis on the N-1 and N-2
143
119
# versions of Flutter stable if the package claims to support that version.
144
120
# This is to minimize accidentally making changes that break old versions
@@ -147,7 +123,6 @@ task:
147
123
# Note: The versions below should be manually updated after a new stable
148
124
# version comes out.
149
125
- name : legacy_version_analyze
150
- depends_on : analyze
151
126
matrix :
152
127
# Change the arguments to pubspec-check when changing these values.
153
128
env :
@@ -164,14 +139,6 @@ task:
164
139
# Only analyze lib/; non-client code doesn't need to work on
165
140
# all supported legacy version.
166
141
- ./script/tool_runner.sh analyze --lib-only --skip-if-not-supporting-flutter-version="$CHANNEL" --skip-if-not-supporting-dart-version="$DART_VERSION" --custom-analysis=script/configs/custom_analysis.yaml
167
- # Does a sanity check that packages pass analysis with the lowest possible
168
- # versions of all dependencies. This is to catch cases where we add use of
169
- # new APIs but forget to update minimum versions of dependencies to where
170
- # those APIs are introduced.
171
- - name : downgraded_analyze
172
- depends_on : analyze
173
- analyze_script :
174
- - ./script/tool_runner.sh analyze --downgrade --custom-analysis=script/configs/custom_analysis.yaml
175
142
- name : readme_excerpts
176
143
env :
177
144
CIRRUS_CLONE_SUBMODULES : true
0 commit comments