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