Skip to content

Commit 96e32b6

Browse files
committed
Yak shaving arguments and formatting
1 parent b86fb03 commit 96e32b6

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

.github/workflows/build-test.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
- name: Install and start RabbitMQ
3232
run: ./.ci/install.ps1
3333
- name: Restore
34-
run: dotnet restore --verbosity=normal ./Build.csproj
34+
run: dotnet restore ./Build.csproj --verbosity=normal
3535
- name: Build
36-
run: dotnet build --no-restore --verbosity=normal ./Build.csproj
36+
run: dotnet build ./Build.csproj --no-restore --verbosity=normal
3737
- name: Verify
38-
run: dotnet format --no-restore --verbosity=diagnostic --verify-no-changes ./rabbitmq-stream-dotnet-client.sln
38+
run: dotnet format ./rabbitmq-stream-dotnet-client.sln --no-restore --verbosity=diagnostic --verify-no-changes
3939
- name: Test
40-
run: dotnet test --no-build --logger "console;verbosity=detailed" ./Build.csproj
40+
run: dotnet test ./Build.csproj --no-build --logger "console;verbosity=detailed"
4141
build:
4242
name: build/test on ubuntu-latest
4343
runs-on: ubuntu-latest
@@ -70,12 +70,12 @@ jobs:
7070
- name: Enable RabbitMQ Plugins
7171
run: docker exec ${{ job.services.rabbitmq.id }} rabbitmq-plugins enable rabbitmq_stream rabbitmq_stream_management rabbitmq_amqp1_0
7272
- name: Restore
73-
run: dotnet restore --verbosity=normal ./Build.csproj
73+
run: dotnet restore ./Build.csproj --verbosity=normal
7474
- name: Build
75-
run: dotnet build --no-restore --verbosity=normal ./Build.csproj
75+
run: dotnet build ./Build.csproj --no-restore --verbosity=normal
7676
- name: Verify
77-
run: dotnet format --no-restore --verbosity=diagnostic --verify-no-changes ./rabbitmq-stream-dotnet-client.sln
77+
run: dotnet format ./rabbitmq-stream-dotnet-client.sln --no-restore --verbosity=diagnostic --verify-no-changes
7878
- name: Test
79-
run: dotnet test --no-build --logger "console;verbosity=detailed" /p:AltCover=true ./Build.csproj
79+
run: dotnet test ./Build.csproj --no-build --logger "console;verbosity=detailed" /p:AltCover=true
8080
- name: Upload code coverage to Codecov
8181
run: bash <(curl -s https://codecov.io/bash)

.github/workflows/publish-nuget.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ jobs:
2525
restore-keys: |
2626
${{ runner.os }}-v2-nuget-
2727
- name: Build (Release)
28-
run: dotnet build --configuration=Release --verbosity=normal
28+
run: dotnet build ./Build.csproj --verbosity=normal --configuration=Release /p:CI=true
2929
- name: Publish to NuGet
3030
run: dotnet nuget push --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} --source 'https://api.nuget.org/v3/index.json' ${{github.workspace}}/packages/RabbitMQ.Stream.Client.*.nupkg

Build.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
<Project Sdk="Microsoft.Build.Traversal/3.2.0">
2+
23
<PropertyGroup>
34
<IsPackable>false</IsPackable>
45
<MinVerSkip>true</MinVerSkip>
56
</PropertyGroup>
7+
68
<ItemGroup>
79
<ProjectReference Include="docs/Documentation/Documentation.csproj" />
810
<ProjectReference Include="docs/SuperStream/SuperStream.csproj" />
@@ -11,4 +13,5 @@
1113
<ProjectReference Include="RabbitMQ.Stream.Client/RabbitMQ.Stream.Client.csproj" />
1214
<ProjectReference Include="Tests/Tests.csproj" />
1315
</ItemGroup>
16+
1417
</Project>

RabbitMQ.Stream.Client/RabbitMQ.Stream.Client.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
23
<PropertyGroup>
34
<AssemblyName>RabbitMQ.Stream.Client</AssemblyName>
45
<AssemblyOriginatorKeyFile>../rabbit.snk</AssemblyOriginatorKeyFile>
@@ -52,4 +53,5 @@
5253
<PackageReference Include="System.IO.Pipelines" />
5354
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
5455
</ItemGroup>
56+
5557
</Project>

0 commit comments

Comments
 (0)