File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed 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 Build
5
+
6
+ on :
7
+ workflow_dispatch :
8
+ push :
9
+ paths :
10
+ - ' /src/Application/**'
11
+ pull_request :
12
+ paths :
13
+ - ' /src/Application/**'
14
+
15
+ defaults :
16
+ run :
17
+ shell : bash
18
+ working-directory : ./src/Application
19
+
20
+ jobs :
21
+ build :
22
+
23
+ runs-on : ubuntu-latest
24
+
25
+ steps :
26
+ - uses : actions/checkout@v4
27
+ - name : Setup .NET
28
+ uses : actions/setup-dotnet@v4
29
+ with :
30
+ dotnet-version : 8.0.x
31
+ - name : Restore dependencies
32
+ run : dotnet restore
33
+ - name : Build
34
+ run : dotnet build --no-restore
35
+ - name : Test
36
+ run : dotnet test --no-build --verbosity normal
You can’t perform that action at this time.
0 commit comments