Skip to content

Commit

Permalink
Add github workflow for vulncheck
Browse files Browse the repository at this point in the history
  • Loading branch information
seslattery committed Sep 7, 2023
1 parent 3450210 commit 3411413
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/vulncheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Vulncheck

on: [pull_request, push]

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
vulncheck:
name: Analysis
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21.0
check-latest: true
- name: Get official govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
shell: bash
- name: Run govulncheck
run: govulncheck ./...
shell: bash

0 comments on commit 3411413

Please sign in to comment.