ci(drone): 添加 Go 模块和构建缓存
- 在 restore cache 和 rebuild cache 步骤中添加了 go-mod-cache 和 go
This commit is contained in:
@@ -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("湖畔魔女泰妮布里雅"))
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 测试同步英雄数据
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user