File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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 : [ "master" ]
9+ pull_request :
10+ branches : [ "master" ]
11+
12+ env :
13+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 : true
14+
15+ jobs :
16+ build :
17+
18+ # Windows required: library uses Windows-only kernel32 P/Invoke APIs
19+ runs-on : windows-latest
20+
21+ steps :
22+ - uses : actions/checkout@v4
23+ - name : Setup .NET
24+ uses : actions/setup-dotnet@v4
25+ with :
26+ dotnet-version : 10.0.x
27+ - name : Restore dependencies
28+ run : dotnet restore IniFile.slnx
29+ - name : Build
30+ run : dotnet build IniFile.slnx --no-restore
31+ - name : Test
32+ run : dotnet test IniFile.slnx --no-build --verbosity normal
You can’t perform that action at this time.
0 commit comments