@@ -13,11 +13,16 @@ jobs:
1313 ARTIFACTS_FOLDER : ${{ github.workspace }}/Artifacts
1414 GITHUB_RUN_NUMBER : ${{ github.run_number }}
1515 steps :
16- - name : Setup .NET
16+ - name : Setup .NET 8
1717 uses : actions/setup-dotnet@v5
1818 with :
1919 dotnet-version : 8.x
2020
21+ - name : Setup .NET 10
22+ uses : actions/setup-dotnet@v5
23+ with :
24+ dotnet-version : 10.x
25+
2126 - name : Checkout repository
2227 id : checkout_repo
2328 uses : actions/checkout@v6
@@ -29,27 +34,32 @@ jobs:
2934 id : build_projects
3035 shell : pwsh
3136 run : |
32- dotnet build Microsoft.OpenApi.sln -c Release
37+ dotnet build Microsoft.OpenApi.slnx -c Release
3338
3439 - name : Run unit tests
3540 id : run_unit_tests
3641 shell : pwsh
3742 run : |
38- dotnet test Microsoft.OpenApi.sln -c Release -v n
43+ dotnet test Microsoft.OpenApi.slnx -c Release -v n
3944
4045 validate-trimming :
4146 name : Validate Project for Trimming
4247 runs-on : windows-latest
4348 steps :
4449 - uses : actions/checkout@v6
4550
46- - name : Setup .NET
51+ - name : Setup .NET 8
4752 uses : actions/setup-dotnet@v5
4853 with :
4954 dotnet-version : 8.x
5055
56+ - name : Setup .NET 10
57+ uses : actions/setup-dotnet@v5
58+ with :
59+ dotnet-version : 10.x
60+
5161 - name : Validate Trimming warnings
52- run : dotnet publish -c Release -r win-x64 /p:TreatWarningsAsErrors=true /warnaserror -f net8 .0
62+ run : dotnet publish -c Release -r win-x64 /p:TreatWarningsAsErrors=true /warnaserror -f net10 .0
5363 working-directory : ./test/Microsoft.OpenApi.Trimming.Tests
5464
5565 validate-performance :
@@ -60,11 +70,16 @@ jobs:
6070 - name : Checkout repository
6171 uses : actions/checkout@v6
6272
63- - name : Setup .NET
73+ - name : Setup .NET 8
6474 uses : actions/setup-dotnet@v5
6575 with :
6676 dotnet-version : 8.x
6777
78+ - name : Setup .NET 10
79+ uses : actions/setup-dotnet@v5
80+ with :
81+ dotnet-version : 10.x
82+
6883 - name : Copy committed results
6984 run : |
7085 mkdir -p ./performanceResults
0 commit comments