Skip to content

Commit 5b407e1

Browse files
authored
Ignore callbacks while closing (#19)
1 parent 5fb327c commit 5b407e1

File tree

4 files changed

+309
-203
lines changed

4 files changed

+309
-203
lines changed

.config/dotnet-tools.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"fantomas-tool": {
6+
"version": "4.7.0",
7+
"commands": ["fantomas"]
8+
}
9+
}
10+
}

.github/workflows/build_and_test.yml

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Build and Test
22

33
on:
44
push:
5-
branches:
6-
- '*'
5+
branches:
6+
- '*'
77
pull_request:
88
branches: [ master ]
99

@@ -13,14 +13,26 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
17-
- name: Setup .NET Core
18-
uses: actions/setup-dotnet@v1
19-
with:
20-
dotnet-version: 3.1.101
21-
- name: Install dependencies
22-
run: dotnet restore
23-
- name: Build
24-
run: dotnet build --configuration Release --no-restore
25-
- name: Test
26-
run: dotnet test --no-restore --verbosity normal
16+
- uses: actions/checkout@v2
17+
18+
- name: Setup .NET Core
19+
uses: actions/setup-dotnet@v1
20+
with:
21+
dotnet-version: 3.1.101
22+
23+
- name: dotnet restore
24+
env:
25+
DOTNET_NOLOGO: true
26+
run: |
27+
dotnet restore
28+
dotnet tool restore
29+
30+
- name: fantomas
31+
run: |
32+
dotnet tool run fantomas -- --check --recurse src/
33+
34+
- name: Build
35+
run: dotnet build --configuration Release --no-restore
36+
37+
- name: Test
38+
run: dotnet test --no-restore --verbosity normal

src/Insurello.RabbitMqClient/Insurello.RabbitMqClient.fsproj

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,18 @@
1818
<!-- Include PDB in the main package as current tooling is lacking.
1919
Shall be removed in the future when tooling has catched up. -->
2020
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
21+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
22+
23+
<EmbedSources>true</EmbedSources>
24+
25+
<!-- Embed symbols containing Source Link in the main file (exe/dll) -->
26+
<DebugType>embedded</DebugType>
2127
</PropertyGroup>
2228

23-
<!-- Source Link repo configuration -->
2429
<ItemGroup>
25-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
30+
<!-- PrivateAssets="All" prevents consuming projects of this NuGet package from attempting to install SourceLink.
31+
It's only used while building. -->
32+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
2633
</ItemGroup>
2734

2835
<ItemGroup>

0 commit comments

Comments
 (0)