Skip to content

Commit

Permalink
👷 ci: replace snyk with govulncheck (#2178)
Browse files Browse the repository at this point in the history
  • Loading branch information
efectn committed Nov 1, 2022
1 parent c63a569 commit 87cedc2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/snyk.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/vulncheck.yml
@@ -0,0 +1,20 @@
on: [push, pull_request_target]
name: Vulnerability Check
jobs:
Security:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
- name: Fetch Repository
uses: actions/checkout@v3
- name: Install Govulncheck
run: |
export GO111MODULE=on
export PATH=${PATH}:`go env GOPATH`/bin
go install golang.org/x/vuln/cmd/govulncheck@latest
- name: Run Govulncheck
run: "`go env GOPATH`/bin/govulncheck ./..."

0 comments on commit 87cedc2

Please sign in to comment.