Skip to content

Commit

Permalink
Moving dotnet-format install to after project resotre
Browse files Browse the repository at this point in the history
  • Loading branch information
EliIser committed May 13, 2024
1 parent 8aa5b6a commit 18ee263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ jobs:
- name: Run Linter
run: |
# Install latest dotnet-format
dotnet restore dropbox-sdk-dotnet/
dotnet tool list
dotnet tool uninstall dotnet-format -g
dotnet tool install -g dotnet-format --version "5.*" --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
dotnet format --version
dotnet restore dropbox-sdk-dotnet/
dotnet format --check --fix-whitespace --fix-style warn --fix-analyzers warn dropbox-sdk-dotnet/

0 comments on commit 18ee263

Please sign in to comment.