[#535] .forgejo: Add vulncheck workflow
All checks were successful
ci/woodpecker/pr/pre-commit Pipeline was successful
Build / Build Components (1.19) (pull_request) Successful in 3m31s
Build / Build Components (1.20) (pull_request) Successful in 3m35s
Tests and linters / Lint (pull_request) Successful in 2m21s
Tests and linters / Tests (1.20) (pull_request) Successful in 3m44s
Tests and linters / Staticcheck (pull_request) Successful in 3m45s
Tests and linters / Tests with -race (pull_request) Successful in 7m52s
Tests and linters / Tests (1.19) (pull_request) Successful in 11m18s
Vulncheck / Vulncheck (pull_request) Successful in 4m21s
All checks were successful
ci/woodpecker/pr/pre-commit Pipeline was successful
Build / Build Components (1.19) (pull_request) Successful in 3m31s
Build / Build Components (1.20) (pull_request) Successful in 3m35s
Tests and linters / Lint (pull_request) Successful in 2m21s
Tests and linters / Tests (1.20) (pull_request) Successful in 3m44s
Tests and linters / Staticcheck (pull_request) Successful in 3m45s
Tests and linters / Tests with -race (pull_request) Successful in 7m52s
Tests and linters / Tests (1.19) (pull_request) Successful in 11m18s
Vulncheck / Vulncheck (pull_request) Successful in 4m21s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
94df541426
commit
9a0a691c92
1 changed files with 22 additions and 0 deletions
22
.forgejo/workflows/vulncheck.yml
Normal file
22
.forgejo/workflows/vulncheck.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: Vulncheck
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
vulncheck:
|
||||
name: Vulncheck
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- 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