File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed
Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,26 @@ name: .NET Application Build
22
33on :
44 push :
5- branches : [ "main" ]
6- pull_request :
7- branches : [ "main" ]
8- workflow_dispatch :
5+ workflow_dispatch :
96
107jobs :
8+ test :
9+ runs-on : ubuntu-latest
10+ container : mcr.microsoft.com/dotnet/sdk:8.0
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0
16+
17+ - name : Run tests
18+ run : dotnet test
19+
1120 build :
1221 runs-on : windows-latest # For a list of available runner types, refer to
13- # https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
22+ # https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
23+
24+ needs : test
1425 steps :
1526 - name : Checkout
1627 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments