-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Parse error when running on latest version #31
Comments
@Aka-shi Thank you for the feedback. I haven't seen the error. Can you share the dbt model which have the violations so that I reproduce it, if you don't mind? |
I am guessing the issue is caused by any breaking change of github action. I will look into it. |
@Aka-shi After all, I don't understand the root cause.
|
If you still have the issue, please feel free to re-open. |
I'm getting the same issue but only with "lint" mode. test_sqlfluff.sql
test.yaml
.sqlfluff
output of local run sqlfluff, version 1.2.1
output of github action in "lint" mode
Everything the same, but changing the test.yaml to "fix" mode, everything works as expected
Github action output in "fix" mode
|
@yu-iskw could you reopen this issue or should I create a new one |
When piping `sqlfluff lint` into `tee`, exit code becomes 0 instead of 1. To fix it, we persist the lint output using `--write-output` CLI flag from sqlfluff instead of using `tee`. fix yu-iskw#31 yu-iskw#43
When piping `sqlfluff lint` into `tee`, exit code becomes 0 instead of 1. To fix it, we persist the lint output using `--write-output` CLI flag from sqlfluff instead of using `tee`. fix yu-iskw#31 yu-iskw#43
Don't understand the error I am facing
Action.yml
sqlfluff config
ERROR screenshots
The text was updated successfully, but these errors were encountered: