File tree Expand file tree Collapse file tree 4 files changed +309
-203
lines changed
src/Insurello.RabbitMqClient Expand file tree Collapse file tree 4 files changed +309
-203
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "version" : 1 ,
3+ "isRoot" : true ,
4+ "tools" : {
5+ "fantomas-tool" : {
6+ "version" : " 4.7.0" ,
7+ "commands" : [" fantomas" ]
8+ }
9+ }
10+ }
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: Build and Test
22
33on :
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
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments