Skip to content

Commit 3dd5dfe

Browse files
authored
ci: dotnet-based netcode.standards to replace python-based ./standards.py (backport) (#1753)
1 parent d09dc50 commit 3dd5dfe

File tree

6 files changed

+599
-128
lines changed

6 files changed

+599
-128
lines changed

.yamato/project-standards.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ standards_{{ projects.first.name }}:
44
name: Standards Check {{ projects.first.name }}
55
agent:
66
type: Unity::VM
7-
image: desktop/logging-testing-linux:stable
7+
image: desktop/logging-testing-linux:v0.1.2-926285
88
flavor: b1.medium
99
commands:
1010
- dotnet --version
11-
- $HOME/.dotnet/tools/dotnet-format --version
12-
- python3 --version
11+
- dotnet format --version
1312
- pip install unity-downloader-cli --upgrade --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
1413
- unity-downloader-cli -u {{ projects.first.test_editors.first }} -c editor --wait --fast
1514
- .Editor/Unity -batchmode -nographics -logFile - -executeMethod Packages.Rider.Editor.RiderScriptEditor.SyncSolution -projectPath {{ projects.first.path }} -quit
16-
- ./standards.py --tool-path $HOME/.dotnet/tools/dotnet-format --project-path {{ projects.first.path }} --check
15+
- dotnet run --project dotnet-tools/netcode.standards -- --project={{ projects.first.path }} --check

0 commit comments

Comments
 (0)