We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e809945 commit 74f2c43Copy full SHA for 74f2c43
.github/workflows/ci-cd.yml
@@ -36,3 +36,18 @@ jobs:
36
shell: pwsh
37
run: |
38
dotnet test Microsoft.OpenApi.sln -c Release -v n
39
+
40
+ validate-trimming:
41
+ name: Validate Project for Trimming
42
+ runs-on: windows-latest
43
+ steps:
44
+ - uses: actions/[email protected]
45
46
+ - name: Setup .NET
47
+ uses: actions/setup-dotnet@v4
48
+ with:
49
+ dotnet-version: 8.x
50
51
+ - name: Validate Trimming warnings
52
+ run: dotnet publish -c Release -r win-x64 /p:TreatWarningsAsErrors=true /warnaserror -f net8.0
53
+ working-directory: ./test/Microsoft.OpenApi.Trimming.Tests
0 commit comments