Skip to content

Commit

Permalink
Add govulncheck
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Coffman <steve@khanacademy.org>
  • Loading branch information
StevenACoffman committed Mar 27, 2023
1 parent 677d854 commit 2774350
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/govulncheck.yml
@@ -0,0 +1,22 @@
name: govulncheck

on: [push, pull_request]
# When a new revision is pushed to a PR, cancel all in-progress CI runs for that
# PR. See https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
scan:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@main
- name: Scan for Vulnerabilities in Code
uses: Templum/govulncheck-action@main
with:
go-version: 1.19
vulncheck-version: latest
package: ./...
fail-on-vuln: true
skip-upload: true

0 comments on commit 2774350

Please sign in to comment.