Skip to content

Commit

Permalink
adding vulncheck github workflow action
Browse files Browse the repository at this point in the history
Signed-off-by: Lenin Alevski <alevsk.8772@gmail.com>
  • Loading branch information
Alevsk committed Oct 18, 2022
1 parent bc82699 commit f16ef91
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/vulncheck.yml
@@ -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 f16ef91

Please sign in to comment.