Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trying out govuln #193

Merged
merged 12 commits into from
Oct 3, 2022
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,21 @@ on:
workflow_dispatch:

jobs:
vulnerability-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19

- name: Install govuln
run: go install golang.org/x/vuln/cmd/govulncheck@latest

- name: Check Vulnerabilities
run: govulncheck ./...
build:
runs-on: ubuntu-latest
steps:
Expand All @@ -27,7 +42,7 @@ jobs:

- name: Install Mage
run: go install github.com/magefile/mage

- name: Build
run: mage build

Expand Down