Skip to content

Commit

Permalink
adding vulncheck github workflow action (#1712)
Browse files Browse the repository at this point in the history
Signed-off-by: Lenin Alevski <[email protected]>
  • Loading branch information
Alevsk authored Oct 19, 2022
1 parent bc82699 commit 7aa4b0e
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/vulncheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: VulnCheck
on:
pull_request:
branches:
- master
- main
push:
branches:
- master
- main
jobs:
vulncheck:
name: Analysis
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ 1.19 ]
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- name: Get govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
shell: bash
- name: Run govulncheck
run: govulncheck ./...
shell: bash

0 comments on commit 7aa4b0e

Please sign in to comment.