lfreleng-actions/🛡️ Go Audit

Runs govulncheck, gosec and staticcheck security audits

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 9, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: lfreleng-actions/go-audit-action@3164e5b31c230a782e4e8bb0e21f313307f703a9 # v0.0.1

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

namedescriptionrequireddefault
go_versionExplicit Go version to install; takes precedence over go_version_fileno""
go_version_fileFile to read the Go version from, relative to path_prefixnogo.mod
path_prefixProject directory; must resolve within the workspaceno.
govulncheckRun govulncheck: 'true' or 'false'notrue
gosecRun gosec: 'true' or 'false'nofalse
staticcheckRun staticcheck: 'true' or 'false'nofalse
govulncheck_versiongolang.org/x/vuln version to install, e.g. v1.5.0; never 'latest'nov1.5.0
gosec_versionsecurego/gosec version to install, e.g. v2.27.1; never 'latest'nov2.27.1
staticcheck_versionhonnef.co/go/tools version to install, e.g. v0.7.0; never 'latest'nov0.7.0
permit_failReport tool findings without failing the action: 'true' or 'false'nofalse
output_directoryAudit report directory, within workspace or runner tempno.
namedescription
govulncheck_passedgovulncheck result: 'true', 'false' or 'skipped'
gosec_passedgosec result: 'true', 'false' or 'skipped'
staticcheck_passedstaticcheck result: 'true', 'false' or 'skipped'
reports_directoryAbsolute path to the directory holding audit reports