Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle new .NET 8 analyzer suggestions #164

Merged
merged 2 commits into from
Dec 4, 2023
Merged

Conversation

cretz
Copy link
Member

@cretz cretz commented Dec 4, 2023

What was changed

.NET 8 has new analyzer suggestions that are failing builds

@cretz cretz requested a review from a team December 4, 2023 14:55
@cretz
Copy link
Member Author

cretz commented Dec 4, 2023

I am moving this to draft while I debug some CI issues

@cretz cretz marked this pull request as draft December 4, 2023 16:03
@cretz cretz force-pushed the ci-check-fixes branch 3 times, most recently from 7d72f6a to 56a1428 Compare December 4, 2023 18:44
@cretz cretz marked this pull request as ready for review December 4, 2023 18:53
@cretz cretz marked this pull request as draft December 4, 2023 18:57
@cretz cretz force-pushed the ci-check-fixes branch 2 times, most recently from d830c56 to a237308 Compare December 4, 2023 19:24
@cretz cretz marked this pull request as ready for review December 4, 2023 19:56
run: |
dotnet tool install --global ClangSharpPInvokeGenerator
dotnet tool install --global --version 16.0.0 ClangSharpPInvokeGenerator
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They broke ClangSharpPInvokeGenerator last week

@@ -3,7 +3,6 @@
<AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<Authors>Temporal</Authors>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.NET 8 release (or MSBuild release) seems to now be properly setting deterministic source paths when this is set, which means it strips runtime paths which hurts us because we test with them.

@cretz cretz merged commit 7c07aa7 into temporalio:main Dec 4, 2023
6 checks passed
@cretz cretz deleted the ci-check-fixes branch December 4, 2023 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants