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

Fix dotnet format argument #234

Closed
wants to merge 1 commit into from
Closed

Conversation

juchom
Copy link
Contributor

@juchom juchom commented Feb 5, 2022

What does this PR do?

dotnet format replace --check with --verify-no-changes

dotnet format replace --check with --verify-no-changes
@brunoocasali brunoocasali self-requested a review February 7, 2022 17:51
@@ -41,4 +41,4 @@ jobs:
- name: Install dotnet-format
run: dotnet tool install -g dotnet-format
- name: Check with dotnet-format
run: dotnet format --check Meilisearch.sln
run: dotnet format --verify-no-changes Meilisearch.sln
Copy link
Member

Choose a reason for hiding this comment

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

Do you know why this change now?

Copy link
Member

Choose a reason for hiding this comment

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

I had the same problem here: #233 and I "solved" by fixing the version of the action actions/setup-dotnet@v1.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

dotnet format has been integrated with .net 6 sdk. They replaced check by verify-nochanges in order to have names that better fit with dotnet cli.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually, you should keep your change and close this one. Building and testing are done against 3.1.

Copy link
Member

Choose a reason for hiding this comment

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

Ok, good to know, thanks for sharing the knowledge!

@brunoocasali
Copy link
Member

Closed, since we will close the issue after the #233 get merged.

@juchom juchom deleted the patch-1 branch May 18, 2022 16:26
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