mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-25 17:30:56 +08:00
Added govulncheck to CI and local verification
This commit is contained in:
@@ -116,6 +116,18 @@ jobs:
|
||||
# service, so parallel package runs delete each other's rows.
|
||||
- run: go test -p 1 ./...
|
||||
|
||||
govulncheck:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
# The official action uses the Go version declared by go.mod and reports
|
||||
# only vulnerabilities reachable from this module's packages.
|
||||
- uses: golang/govulncheck-action@v1
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
go-package: ./...
|
||||
|
||||
shell:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user