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

Disable rollForward for SDK in global.json #170

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

MattKotsenas
Copy link
Collaborator

@MattKotsenas MattKotsenas commented Aug 1, 2024

Update .NET SDK to the latest released version and disable rollForward.

Updates to the .NET SDK feature band can introduce new / updated analyzers (for instance, 8.0.400 adds IDE0320). As a result, updating the feature band isn't "safe" to do from a build reproducibility perspective. It will also conflict with #166.

That means the roll forward options available to us are:

  • patch
  • latestPatch
  • disable

However, GitHub Actions don't support these options (tracked by actions/setup-dotnet#448). Thus, the only rollForward strategy that currently does the same thing locally and in CI is disabled.

Once 448 is fixed, we can / should probably switch to latestPatch (tracked by #171).

This 'gotcha' is also added to the SquiggleCop documentation here.

Copy link

codeclimate bot commented Aug 1, 2024

Code Climate has analyzed commit 48f1955 and detected 0 issues on this pull request.

View more on Code Climate.

Copy link
Owner

@rjmurillo rjmurillo left a comment

Choose a reason for hiding this comment

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

Great write up. Thanks!

@MattKotsenas MattKotsenas merged commit 8ae2592 into rjmurillo:main Aug 1, 2024
6 checks passed
@MattKotsenas MattKotsenas deleted the refactor/global-json branch August 1, 2024 20:46
@rjmurillo rjmurillo added this to the vNext milestone Aug 1, 2024
@rjmurillo rjmurillo modified the milestones: vNext, v0.2.0 Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants