Skip to content

Commit

Permalink
Merge pull request #428 from DopplerHQ/vulncheck
Browse files Browse the repository at this point in the history
add workflow for vulncheck
  • Loading branch information
seslattery authored Sep 7, 2023
2 parents 3450210 + 3411413 commit e0a2bf0
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 e0a2bf0

Please sign in to comment.