-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: move vulncheck to a separate workflow
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
- Loading branch information
1 parent
9d22349
commit c9be3f5
Showing
2 changed files
with
24 additions
and
9 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
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,24 @@ | ||
--- | ||
name: Vulnerabilities | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
tags: | ||
- v* | ||
pull_request: {} | ||
|
||
jobs: | ||
vulnerabilities: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: vulncheck | ||
id: govulncheck | ||
uses: golang/govulncheck-action@v1 | ||
with: | ||
# The setup-go action does not necessarily use the latest Go patch release. | ||
# As such, this job may fail due to vulnerabilities present in previous | ||
# patch releases (including the one used by the setup-go action). | ||
# See https://github.com/actions/setup-go/issues/407 | ||
go-version-file: go.mod |