l3montree-dev / devguard

DevGuard Backend - Manage your CVEs seamlessly, Integrate your Vulnerability Scanners, Security Framework Documentation made easy, Compliance to security Frameworks - OWASP Incubating Project
https://flawfix.dev
Other
37 stars 4 forks source link

add golang unittests, security check and linter as CI checks to github workflow #45

Closed CMaxK closed 7 months ago

CMaxK commented 7 months ago

In response to https://github.com/l3montree-dev/flawfix/issues/43 - Add golang testing stage to github workflow

I've set-up Go v1.21 actions to run native unittest library in github actions workflow

Also included security checks for go - https://github.com/securego/gosec

As well as linter checks - https://pkg.go.dev/honnef.co/go/tools#section-readme

Let me know if this is what you were after :)

timbastin commented 7 months ago

This looks awesome! I changed the destination to a dev branch. I will fix the linting issues on it and merge it into main afterwards.

Thanks a lot for your contribution!