forked from TrueCloudLab/frostfs-http-gw
[#55] Add govulncheck in CI
Check dependency issues on every PR. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
parent
f24f39ec92
commit
b8944adb65
1 changed files with 24 additions and 0 deletions
24
.forgejo/workflows/vulncheck.yml
Normal file
24
.forgejo/workflows/vulncheck.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
vulncheck:
|
||||
name: Vulncheck
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Sync tree service
|
||||
run: make sync-tree
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: '1.20'
|
||||
|
||||
- name: Install govulncheck
|
||||
run: go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||
|
||||
- name: Run govulncheck
|
||||
run: govulncheck ./...
|
Loading…
Reference in a new issue