Skip to content

Conversation

@cwaldren-ld
Copy link
Contributor

@cwaldren-ld cwaldren-ld commented Mar 30, 2023

This contains two improvements to address the slowness of the linter:

  1. Make it cancel if a new commit comes through
  2. Only run on files in the PR.

I had (2) disabled because I wanted it to scan the whole repo (it was introduced after there was already code in the repo.) I think we can change that now. I should probably have changed that a couple days ago but I forgot about it.

@cwaldren-ld cwaldren-ld marked this pull request as ready for review March 30, 2023 19:23
@cwaldren-ld
Copy link
Contributor Author

cwaldren-ld commented Mar 30, 2023

You know what would be cool? If the action didn't download boost, run cmake, do all that stuff.. and then check if any files have changed!.

But that is what it does. Still, this should be an improvement. (52 seconds on this PR that didn't change any cpp files.)

@cwaldren-ld cwaldren-ld requested a review from kinyoklion March 30, 2023 19:26
@github-actions github-actions bot mentioned this pull request May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants