简体   繁体   English

Unity .net 4.7.1 + Github 工作流程

[英]Unity .net 4.7.1 + Github Workflow

I am trying to setup a github workflow for .NET Standard 4.7.1 so that I can run FXCop for some static code analysis.我正在尝试为 .NET Standard 4.7.1 设置 github 工作流,以便我可以运行 FXCop 进行一些 static 代码分析。

The precanned github workflows for .net all seem to target .NET Core 3.x. .net 的预装 github 工作流程似乎都针对 .NET Core 3.x。 Unity does not seem to support .NET Core. Unity 似乎不支持 .NET Core。

Is there a way to install .NET Standard 4.7.1 with github workflows?有没有办法使用 github 工作流程安装 .NET Standard 4.7.1? If not, how else can I get some basic CI setup for my project (preferably free).如果没有,我还能如何为我的项目获得一些基本的 CI 设置(最好是免费的)。

My recommendation would be to use Gendarme with Unity.我的建议是在 Unity 中使用 Gendarme。 FXCop seems to require the Microsoft SDK, and Gendarme is Mono based. FXCop 似乎需要 Microsoft SDK,而宪兵则基于 Mono。

https://www.mono-project.com/docs/tools+libraries/tools/gendarme/ https://www.mono-project.com/docs/tools+libraries/tools/gendarme/

Not sure how you'd hook that up to a Github workflow though.不过,不确定如何将其连接到 Github 工作流程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM