File tree Expand file tree Collapse file tree 5 files changed +42
-65
lines changed Expand file tree Collapse file tree 5 files changed +42
-65
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : nuget
4
+ directory : " /src"
5
+ schedule :
6
+ interval : weekly
7
+ open-pull-requests-limit : 10
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # This workflow will build a .NET project
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3
+
4
+ name : .NET
5
+
6
+ on :
7
+ push :
8
+ branches : [ "develop" ]
9
+ pull_request :
10
+ branches : [ "develop" ]
11
+
12
+ jobs :
13
+ build :
14
+
15
+ runs-on : ubuntu-latest
16
+
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+ - name : Setup .NET
20
+ uses : actions/setup-dotnet@v4
21
+ with :
22
+ dotnet-version : 8.0.x
23
+
24
+ - name : Restore dependencies
25
+ working-directory : " ./src"
26
+ run : dotnet restore
27
+
28
+ - name : Build
29
+ working-directory : " ./src"
30
+ run : dotnet build --no-restore
31
+
32
+ - name : Test
33
+ working-directory : " ./src"
34
+ run : dotnet test --no-build --verbosity normal
Original file line number Diff line number Diff line change 5
5
6
6
----
7
7
8
- ![ .NET Core] ( https://github.com/Amitpnk/Onion-architecture-ASP.NET-Core/workflows/.NET%20Core /badge.svg )
8
+ ![ .NET Core] ( https://github.com/Amitpnk/Onion-architecture-ASP.NET-Core/workflows/.NET/badge.svg )
9
9
[ ![ Bugs] ( https://sonarcloud.io/api/project_badges/measure?project=Amitpnk_Onion-architecture-ASP.NET-Core&metric=bugs )] ( https://sonarcloud.io/dashboard?id=Amitpnk_Onion-architecture-ASP.NET-Core )
10
10
[ ![ Code Smells] ( https://sonarcloud.io/api/project_badges/measure?project=Amitpnk_Onion-architecture-ASP.NET-Core&metric=code_smells )] ( https://sonarcloud.io/dashboard?id=Amitpnk_Onion-architecture-ASP.NET-Core )
11
11
[ ![ Duplicated Lines (%)] ( https://sonarcloud.io/api/project_badges/measure?project=Amitpnk_Onion-architecture-ASP.NET-Core&metric=duplicated_lines_density )] ( https://sonarcloud.io/dashboard?id=Amitpnk_Onion-architecture-ASP.NET-Core )
You can’t perform that action at this time.
0 commit comments