Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Steve Coffman <steve@khanacademy.org>
- Loading branch information
1 parent
677d854
commit 2774350
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |