hubcio commented on code in PR #2178:
URL: https://github.com/apache/iggy/pull/2178#discussion_r2362553189
##########
.github/actions/csharp-dotnet/pre-merge/action.yml:
##########
@@ -47,36 +47,34 @@ runs:
- name: Restore dependencies
run: |
- cd foreign/csharp
- dotnet restore
+ dotnet restore foreign/csharp/Iggy_SDK.sln
+ dotnet restore examples/csharp/Iggy_SDK.Examples.sln
shell: bash
- name: Build
run: |
- cd foreign/csharp
- dotnet build --no-restore
+ dotnet build foreign/csharp/Iggy_SDK.sln --no-restore
+ dotnet build examples/csharp/Iggy_SDK.Examples.sln --no-restore
shell: bash
- name: Lint (Code Analysis)
if: inputs.task == 'lint'
run: |
- cd foreign/csharp
-
# Run code analysis
- dotnet build --no-restore /p:EnforceCodeStyleInBuild=true
/p:TreatWarningsAsErrors=false
+ dotnet build foreign/csharp/Iggy_SDK.sln --no-restore
/p:EnforceCodeStyleInBuild=true /p:TreatWarningsAsErrors=false
+ dotnet build examples/csharp/Iggy_SDK.Examples.sln --no-restore
/p:EnforceCodeStyleInBuild=true /p:TreatWarningsAsErrors=false
# TODO: make format check blocking (requires dotnet-format tool)
Review Comment:
could you please fix this TODO? (remove `|| true` at the end and try to fix
the lints)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]