Switch to Github Actions Code Scanner #1739
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change Description
Adds a Github Actions workflow that runs the same queries as the current LGTM set up.
Rationale
lgtm.com will be shut down at the end of the year.
Future Work
We may want to remove the LGTM configuration files once it's fully shut down.
Additional comments
I currently have it set up to run on each commit and pull request to
master
anddevel
as I see this seems to be the convention in the workflows of this repo, but we could restrict to only running when source files are modified.Here's the result of the queries on Github Actions results. Comparing to the LGTM results, we see the same warnings with an additional 2 on the Github Actions side.