Nullable warnings are now errors.
This commit is contained in:
committed by
GitHub
parent
3d922749d9
commit
48d9ffa78b
2
.github/workflows/build-test.yml
vendored
2
.github/workflows/build-test.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build --configuration Release --no-restore
|
run: dotnet build --configuration Release --no-restore /p:WarningsAsErrors=nullable
|
||||||
- name: Content.Tests
|
- name: Content.Tests
|
||||||
run: dotnet test --no-build Content.Tests/Content.Tests.csproj -v n
|
run: dotnet test --no-build Content.Tests/Content.Tests.csproj -v n
|
||||||
- name: Content.IntegrationTests
|
- name: Content.IntegrationTests
|
||||||
|
|||||||
Reference in New Issue
Block a user