diff --git a/.github/workflows/pr-review.yml b/.github/workflows/pr-review.yml index 3e82aa5..e79deb3 100644 --- a/.github/workflows/pr-review.yml +++ b/.github/workflows/pr-review.yml @@ -17,6 +17,12 @@ jobs: - name: Checkout Code uses: actions/checkout@v7 + - name: Normalize Workspace Directory Alias + run: | + if [ ! -e "../RimMind-Core" ]; then + ln -s "$GITHUB_WORKSPACE" "../RimMind-Core" + fi + - name: Setup .NET uses: actions/setup-dotnet@v6 with: diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..0c6ae1f --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,9 @@ + + + 10.0 + enable + true + true + $(UserProfile)\.nuget\packages + + diff --git a/Tests/Contracts/P6ApiVersionContracts.cs b/Tests/Contracts/P6ApiVersionContracts.cs index eb380ad..78080f7 100644 --- a/Tests/Contracts/P6ApiVersionContracts.cs +++ b/Tests/Contracts/P6ApiVersionContracts.cs @@ -70,6 +70,10 @@ public void DirectoryBuildProps_standardizes_compiler_defaults_without_overridin { string repoRoot = FindRepositoryRoot(); string propsPath = Path.Combine(repoRoot, "Directory.Build.props"); + if (!File.Exists(propsPath)) + { + propsPath = Path.Combine(repoRoot, "RimMind-Core", "Directory.Build.props"); + } ContractCaseRunner.Run( ("Directory.Build.props exists at repository root and sets conditional C# 10, Nullable, and Deterministic defaults", () =>