Add security scan

This commit is contained in:
Lunny Xiao 2024-04-27 22:28:24 +08:00
parent 3bc2ea24f6
commit 7190561e58
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 11 additions and 1 deletions

View File

@ -24,3 +24,13 @@ jobs:
run: make test-sqlite3 run: make test-sqlite3
- name: test sqlite3 with cache - name: test sqlite3 with cache
run: TEST_CACHE_ENABLE=true make test-sqlite3 run: TEST_CACHE_ENABLE=true make test-sqlite3
govulncheck_job:
runs-on: ubuntu-latest
name: Run govulncheck
steps:
- id: govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-file: 'go.mod'
go-package: ./...