File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : PR Validation
2+
3+ on :
4+ pull_request :
5+ branches : [ main, master, dev ]
6+ push :
7+ branches : [ main, master, dev ]
8+
9+ jobs :
10+ validate :
11+ name : Validate on ${{ matrix.os }}
12+ runs-on : ${{ matrix.os }}
13+ strategy :
14+ matrix :
15+ os : [ubuntu-latest]
16+ fail-fast : false
17+
18+ steps :
19+ - uses : actions/checkout@v4
20+ with :
21+ fetch-depth : 0
22+
23+ - name : Setup .NET
24+ uses : actions/setup-dotnet@v4
25+ with :
26+ global-json-file : ./global.json
27+
28+ - name : Update version
29+ shell : pwsh
30+ run : ./build.ps1
31+
32+ - name : Restore dependencies
33+ run : dotnet restore
34+
35+ - name : Build
36+ run : dotnet build --no-restore -c Release
37+
38+ - name : Test
39+ run : dotnet test --no-build -c Release --logger "trx;LogFileName=test-results.trx"
40+
41+ - name : Upload test results
42+ uses : actions/upload-artifact@v4
43+ if : always()
44+ with :
45+ name : test-results-${{ matrix.os }}
46+ path : ' **/test-results.trx'
Original file line number Diff line number Diff line change @@ -250,6 +250,9 @@ UpgradeLog*.htm
250250* .bim.layout
251251* .bim_ * .settings
252252
253+ # Cursor rules
254+ .cursor /
255+
253256# Microsoft Fakes
254257FakesAssemblies /
255258
You can’t perform that action at this time.
0 commit comments