-
Notifications
You must be signed in to change notification settings - Fork 58
Fix analyzer plugin build in Dart stable #696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
656363c
a6be844
301c332
acb013f
a1e96cc
fe54bd1
3d2fb03
14bbfaa
d5c4768
1eaa3ba
17fa7da
c3a4b72
0901a57
cf1c59a
46749e7
1861f36
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -79,6 +79,9 @@ jobs: | |
|
|
||
| analyzer_plugin: | ||
| runs-on: ubuntu-latest | ||
| defaults: | ||
| run: | ||
| working-directory: ./tools/analyzer_plugin | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
|
|
@@ -92,13 +95,23 @@ jobs: | |
| - name: Print Dart SDK version | ||
| run: dart --version | ||
|
|
||
| - id: link | ||
| name: Override over_react dependency with local path | ||
| run: cd ../.. && pub get && dart tool/travis_link_plugin_deps.dart | ||
|
|
||
| - id: install | ||
| name: Install dependencies | ||
| run: pub get | ||
| if: always() && steps.link.outcome == 'success' | ||
|
|
||
| - name: Run analyzer_plugin checks | ||
| run: | | ||
| dart tool/travis_link_plugin_deps.dart | ||
| cd ./tools/analyzer_plugin | ||
| ./tool/travis.sh | ||
| - name: Validate dependencies | ||
| run: pub run dependency_validator --no-fatal-pins -i analyzer,build_runner,build_web_compilers,built_value_generator | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fyi if you want to upgrade to dependency_validator v2 or v3, then it should detect the executable from
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (probably out-of-scope since this is a small PR, just thought I'd throw it out there for future reference) |
||
| if: always() && steps.install.outcome == 'success' | ||
|
|
||
| - name: Verify formatting | ||
| run: pub run dart_dev format --check | ||
| if: always() && matrix.sdk == '2.7.2' && steps.install.outcome == 'success' | ||
|
|
||
| - name: Run tests | ||
| run: pub run dart_dev test | ||
| if: always() && steps.install.outcome == 'success' | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I broke this up so that we could more easily conditionally run formatting step