-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Action not working properly inside example/ #2
Comments
The weird thing about this is none of the |
@llucax, I'll check this out further tomorrow. The readme already shows examples to run |
Yes, I'm running |
@llucax, this link no longer points to the issue. Please identify which run failed here: https://github.com/lunofono/lunofono_player/actions. I want to be sure of the error first before I attempt to debug. |
I created a separate PR that only upgrades to this action, so it's easier to see the issue in isolation: lunofono/lunofono_player#12 |
Great! I appreciate the help. I'll look into this in the coming days. |
The job using the action is |
@llucax, I found that the issue is caused by the - name: Analyze lib
if: matrix.test_type == 'static'
uses: zgosalvez/github-actions-analyze-flutter@v1
with:
working-directory: lib
fail-on-warnings: true
- name: Analyze test
if: matrix.test_type == 'static'
uses: zgosalvez/github-actions-analyze-flutter@v1
with:
working-directory: test
fail-on-warnings: true
- name: Analyze example
if: matrix.test_type == 'static'
uses: zgosalvez/github-actions-analyze-flutter@v1
with:
working-directory: example
fail-on-warnings: true I could also implement an - name: Analyze
if: matrix.test_type == 'static'
uses: zgosalvez/github-actions-analyze-flutter@v1
with:
excludes: example
fail-on-warnings: true
- name: Analyze example
if: matrix.test_type == 'static'
uses: zgosalvez/github-actions-analyze-flutter@v1
with:
working-directory: example
fail-on-warnings: true Thoughts? |
For me what would be natural as a user of the action is that these details are handled automatically and the action behaves the same as running |
It appears this action should be refactored to use the |
Oh, dann, that seems like a lot of work. I would have thought that the |
I had initially thought that as well when I developed this action. When I read the dart tool documentation, it mentioned using the |
Hey is there any update on this? analyzer:
exclude: [dirA, dirB]
linter:
rules:
# flutter
- avoid_print
- .... |
I've been working around this for a while, but just happened to see this issue. If anyone is curious I just override
|
Hi, I have a package that provides an
example
. When runningflutter analyze
locally, it all works fine, but when running this GitHub action I get some errors. See: https://github.com/lunofono/lunofono_player/pull/9/checks?check_run_id=1727456103#step:6:18At some point I had those errors locally, but it was fixed after doing a
flutter pub get
, so maybe the action is missing that step?The text was updated successfully, but these errors were encountered: