1 parent 77d57b8 commit 5494553Copy full SHA for 5494553
1 file changed
.github/workflows/dotnet-desktop-build-check.yml
@@ -0,0 +1,31 @@
1
+name: Build Check
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: windows-latest # Kept Windows for desktop framework compatibility
12
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v4
16
+ with:
17
+ fetch-depth: 0
18
19
+ - name: Setup .NET
20
+ uses: actions/setup-dotnet@v4
21
22
+ dotnet-version: 10.0.x
23
24
+ - name: Restore Dependencies
25
+ run: dotnet restore
26
27
+ - name: Build
28
+ run: dotnet build --configuration Release --no-restore
29
30
+ - name: Execute Unit Tests
31
+ run: dotnet test --configuration Release --no-build --verbosity normal
0 commit comments