scientistproject / Scientist.net

A .NET library for carefully refactoring critical paths. It's a port of GitHub's Ruby Scientist library
MIT License
1.46k stars 95 forks source link

Create codeql-analysis.yml #149

Closed JoshHiles closed 3 years ago

JoshHiles commented 3 years ago

Description

Adding codeql scanning for 3.0.0 branch

Related Issue

Closes #138

Motivation and Context

Currently no static code analysis, adding codeql scanning will advise us on any potential problems

Types of changes

Checklist:

M-Zuber commented 3 years ago

If I understand the error correctly, the issue is that the project file needs to be updated? I think it would be okay to have that change as part of this PR.

If that is not the issue, then I am unsure how would be best to proceed

JoshHiles commented 3 years ago

@M-Zuber All fixed now, the autobuild doesnt support .net 6 yet so had to manually setup dotnet 6 and build the project that way and if you have a look here https://github.com/scientistproject/Scientist.net/security/code-scanning we get a nice 'latest scan' section too

M-Zuber commented 3 years ago

lets do this.gif