Skip to content

Commit

Permalink
add govulncheck action to the branch
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardsn committed Jan 13, 2025
1 parent abd75f4 commit a2539b8
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/govulncheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# "Govulncheck reports known vulnerabilities that affect Go code.
# It uses static analysis of source code or a binary's symbol table to narrow down reports to only those that could affect the application."
#
# For more information see https://go.dev/blog/vuln and https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck
name: 'govulncheck'

on:
push:
branches:
- 'master'
- 'V*'
pull_request:
# The branches below must be a subset of the branches above
branches:
- 'master'
- 'V*'

jobs:
govulncheck_job:
runs-on: ubuntu-latest
name: Run govulncheck
steps:
- id: govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: 'stable'
go-package: ./...

0 comments on commit a2539b8

Please sign in to comment.