File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -28,5 +28,5 @@ Write-Host "[INFO] Setting RABBITMQ_RABBITMQCTL_PATH to '$rabbitmqctl_path'..."
28
28
$env: RABBITMQ_RABBITMQCTL_PATH = $rabbitmqctl_path
29
29
[Environment ]::SetEnvironmentVariable(' RABBITMQ_RABBITMQCTL_PATH' , $rabbitmqctl_path , ' Machine' )
30
30
31
- $solution_file = Join-Path - Path $env: GITHUB_WORKSPACE - ChildPath ' RabbitMQDotNetClient.sln '
32
- dotnet test -- no- restore -- no- build -- logger " console;verbosity=detailed" $solution_file
31
+ $build_csproj_file = Join-Path - Path $env: GITHUB_WORKSPACE - ChildPath ' Build.csproj '
32
+ dotnet test $build_csproj_file -- no- restore -- no- build -- logger " console;verbosity=detailed"
Original file line number Diff line number Diff line change 42
42
- name : List NuGet sources
43
43
run : dotnet nuget locals all --list
44
44
- name : Restore
45
- run : dotnet restore --verbosity=normal
45
+ run : dotnet restore ./Build.csproj --verbosity=normal
46
46
- name : Build
47
- run : dotnet build --no-restore --verbosity=normal
47
+ run : dotnet build ./Build.csproj --no-restore --verbosity=normal
48
+ - name : Verify
49
+ run : dotnet format ./RabbitMQDotNetClient.sln --no-restore --verbosity=diagnostic --verify-no-changes
48
50
- name : Test
49
51
run : ./.ci/gha-run-tests.ps1
50
52
@@ -79,12 +81,12 @@ jobs:
79
81
restore-keys : |
80
82
${{ runner.os }}-v0-nuget-
81
83
- name : Restore
82
- run : dotnet restore --verbosity=normal
84
+ run : dotnet restore ./Build.csproj --verbosity=normal
83
85
- name : Build
84
- run : dotnet build --no-restore --verbosity=normal
86
+ run : dotnet build ./Build.csproj --no-restore --verbosity=normal
87
+ - name : Verify
88
+ run : dotnet format ./RabbitMQDotNetClient.sln --no-restore --verbosity=diagnostic --verify-no-changes
85
89
- name : Test
86
- run : dotnet test --no-restore --no-build --logger "console;verbosity=detailed" --framework "net6.0"
90
+ run : dotnet test ./Build.csproj --no-restore --no-build --logger "console;verbosity=detailed" --framework "net6.0"
87
91
env :
88
92
RABBITMQ_RABBITMQCTL_PATH : DOCKER:${{job.services.rabbitmq.id}}
89
- - name : Verify Formatting
90
- run : dotnet format --verbosity normal --no-restore --verify-no-changes
You can’t perform that action at this time.
0 commit comments