Skip to content

Commit

Permalink
use .net6 built-in format
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotoffia committed Oct 6, 2024
1 parent 0cd76f6 commit 78f2b2d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
- name: Install .NET tools
run: |
dotnet tool install -g dotnet-format
dotnet tool install -g dotnet-sonarscanner -v:m
- name: Add .NET tools to PATH
Expand All @@ -47,6 +46,9 @@ jobs:
- name: Restore dependencies
run: dotnet restore

- name: Run code formatting check
run: dotnet format --check

- name: Patch csproj files with version
run: |
find . -name '*.csproj' -exec sed -i 's/<Version>.*<\/Version>/<Version>${{ steps.gitversion.outputs.nugetversion }}<\/Version>/g' {} +
Expand Down

0 comments on commit 78f2b2d

Please sign in to comment.