ci(drone): 添加 Go 模块和构建缓存

- 在 restore cache 和 rebuild cache 步骤中添加了 go-mod-cache 和 go
This commit is contained in:
hxt
2025-07-17 20:25:50 +08:00
parent 9ef6ac9cdb
commit 0ad79c4f27
75 changed files with 1400 additions and 1745 deletions

View File

@@ -23,6 +23,15 @@ func TestMain(m *testing.M) {
os.Exit(code)
}
/**
* 测试同步英雄数据
*/
func TestI18n(t *testing.T) {
_ = i18n.RefreshI18n(context.Background())
fmt.Println(i18n.Zh2En("湖畔魔女泰妮布里雅"))
}
/**
* 测试同步英雄数据
*/