From 41d90eb72c272c311fbf1031846ed20859aedbe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E8=B6=85=E8=B6=8A?= <993921@qq.com> Date: Sat, 2 Mar 2024 20:26:40 +0800 Subject: [PATCH] feat: add audit check --- .github/workflows/coverage.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 4b2f356c..43fd7267 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -17,6 +17,8 @@ jobs: go-version: '1.22.0' - name: Build run: go build -v ./... + - name: Audit + run: go install golang.org/x/vuln/cmd/govulncheck@latest && govulncheck ./... - name: Test run: go test -v ./...