-
Notifications
You must be signed in to change notification settings - Fork 918
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
top level 'make lint' target fails #4678
Comments
If I replace the failing glob with find, so that it checks all of the files in src/:
It runs for a while but then runs out of memory on my 16GB machine Restricting it to just the original directories seems to work (but now it finds linting issues ;-) )
|
It appears that this is failing when run in circle-ci as well (taking a random run for example): https://app.circleci.com/pipelines/github/tinygo-org/tinygo/12145/workflows/e2c5864b-f22e-4c22-8cb4-faf12b20712b/jobs/45681?invite=true#step-116-1317_118 |
The revive command seems to have had a syntax error in the file input glob. It appears to have been broken in a way that did not result in a return code being set. This change uses 'find' to build the input to the linter. Note that it is expected to fail the CI script, because it is uncovering some existing lint issues that were not being caught.
Using the latest tinygo release 2a76ceb (but also the dev branch), if I attempt to run 'make lint', it fails:
The text was updated successfully, but these errors were encountered: