File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : .NET
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ pull_request :
7+ branches : ["main"]
8+ workflow_dispatch :
9+
10+ permissions :
11+ contents : read
12+
13+ jobs :
14+ build_and_test :
15+ name : Build and Test
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - name : Checkout
20+ uses : actions/checkout@v4
21+
22+ - name : Setup .NET
23+ uses : actions/setup-dotnet@v4
24+ with :
25+ dotnet-version : " 10.0.x"
26+ include-prerelease : true
27+ cache : true
28+ cache-dependency-path : |
29+ **/*.csproj
30+ **/*.props
31+ **/*.targets
32+ **/packages.lock.json
33+
34+ - name : Restore
35+ run : dotnet restore CoreIdent.sln
36+
37+ - name : Build
38+ run : dotnet build CoreIdent.sln -c Release --no-restore
39+
40+ - name : Test
41+ run : dotnet test CoreIdent.sln -c Release --no-build --verbosity normal
You can’t perform that action at this time.
0 commit comments