ellogroup/Gosec Security Checker

Runs the gosec security checker

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Oct 10, 2023
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: ellogroup/gosec-action@e69861fabdae6ec4cf68e1f8aa1e734b92d53058 # v1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
go-installWhether Go needs installing. Will need to be set as true if Go has not already been installed.false
go-versionThe Go version to download (if necessary) and use. Supports semver spec and ranges. Be sure to enclose this option in single quotation marks.
go-version-filePath to the go.mod or go.work file.
go-cache-dependency-pathUsed to specify the path to a dependency file - go.sum
go-check-latestSet this option to true if you want the action to always check for the latest available version that satisfies the version specfalse
go-cacheUsed to specify whether caching is needed. Set to true, if you'd like to enable caching.true
working-directoryDirectory in which to run gosec.
go-packageGo Package to scan with gosec./...

no outputs