Skip to content

Commit

Permalink
Merge pull request #14625 from vivekpatani/main
Browse files Browse the repository at this point in the history
.github: add govuln check
  • Loading branch information
serathius authored Oct 28, 2022
2 parents 52cac17 + 5c0d653 commit ac1b076
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/govuln.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Go Vulnerability Checker
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
- linux-amd64-govuln-check
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.19.2"
- run: date
- env:
TARGET: ${{ matrix.target }}
run: |
echo "${TARGET}"
case "${TARGET}" in
linux-amd64-govuln-check)
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...
;;
esac

0 comments on commit ac1b076

Please sign in to comment.