fix: block CGNAT SSRF and restore cross-database CI coverage

This commit is contained in:
bluedbird
2026-09-19 22:54:43 +08:00
parent 7e3d3c6315
commit f4d97fafcd
5 changed files with 100 additions and 14 deletions
+2 -2
View File
@@ -66,7 +66,7 @@ jobs:
case "${{ matrix.test-group }}" in
store)
# Run store tests for all drivers (sqlite, mysql, postgres)
go test -v -coverprofile=coverage.out -covermode=atomic ./store/...
DRIVER= go test -v -coverprofile=coverage.out -covermode=atomic ./store/...
;;
server)
# Includes ./server/test, which boots the real server via
@@ -82,7 +82,7 @@ jobs:
;;
esac
env:
DRIVER: ${{ matrix.test-group == 'store' && '' || 'sqlite' }}
DRIVER: sqlite
- name: Upload coverage
if: github.event_name == 'push' && github.ref == 'refs/heads/main'