test(license): 解码 fuzz 冒烟目标
sdk-ci / test (push) Successful in 1m53s

- 新增 FuzzDecode:任意输入不得 panic;CI 每次跑 15s 模糊测试
This commit is contained in:
iceking2nd committed 2026-11-14 21:04:48 +08:00
1 parent 2c1eeae070
commit 93bf662795
2 files changed
+18

No files matched your search

+2
View File
@@ -22,6 +22,8 @@ jobs:
mirror: https://mirrors.aliyun.com/golang/
- name: 全量测试(race + shuffle)
run: go test -race -shuffle=on ./...
- name: 解码 fuzz(15s 冒烟)
run: go test ./license -run '^$' -fuzz FuzzDecode -fuzztime 15s
- name: 依赖闭包断言(零第三方依赖红线,go list -m 权威判据)
run: |
MODS=$(go list -m all | grep -v "^git.wxccs.org/EntitleForge/EntitleForge-SDK-go" || true)