From 3b3f99f8a197b98a3879d8bd668c93ecd5647a57 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 14 Mar 2025 17:04:18 +0000 Subject: [PATCH] Add security scan (#2454) Reviewed-on: https://gitea.com/xorm/xorm/pulls/2454 --- .gitea/workflows/test-sqlite.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test-sqlite.yml b/.gitea/workflows/test-sqlite.yml index 427697cd..5b64f025 100644 --- a/.gitea/workflows/test-sqlite.yml +++ b/.gitea/workflows/test-sqlite.yml @@ -24,4 +24,14 @@ jobs: - name: test sqlite3 run: make test-sqlite3 - name: test sqlite3 with cache - run: TEST_CACHE_ENABLE=true make test-sqlite3 \ No newline at end of file + 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: ./... \ No newline at end of file