From 02d9c8a9c4fc7a46e3218c51601e05decf08c87d Mon Sep 17 00:00:00 2001 From: eai04191 Date: Sat, 12 Nov 2022 00:49:38 +0900 Subject: [PATCH] docs: Fix the CI example codes to be valid (#695) * docs: Fix the CI example codes to be valid - Fixed the format of the dotnet local tool command to be as shown in the .NET docs. - Fixed typo for "github actions" * Fix unnatural sentences Co-authored-by: Lasath Fernando --- Docs/ContinuousIntegration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Docs/ContinuousIntegration.md b/Docs/ContinuousIntegration.md index ef414c8c7..cf159bdd2 100644 --- a/Docs/ContinuousIntegration.md +++ b/Docs/ContinuousIntegration.md @@ -22,9 +22,9 @@ Normally when using a code formatter like CSharpier, you'll want to ensure that 2. Use your preferred CI/CD tool to run the following commands. ```bash dotnet tool restore - dotnet-csharpier . --check + dotnet csharpier --check . ``` - An example of a github action to accomplish this + An example Github Actions workflow to accomplish this ```yaml name: Validate PR on: @@ -38,7 +38,7 @@ Normally when using a code formatter like CSharpier, you'll want to ensure that - uses: actions/checkout@v2 - run: | dotnet tool restore - dotnet csharpier . --check + dotnet csharpier --check . ```