From 9b7b8023f250e7961dd2cdceeeea57cdd1e0204e Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Fri, 12 Jun 2020 14:22:44 +0200 Subject: [PATCH] Treat nullability warnings as errors in CI. --- .github/workflows/build-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 2b9aa93a2..3f7bff33a 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -20,6 +20,6 @@ jobs: - name: Install dependencies run: dotnet restore - name: Build - run: dotnet build --no-restore + run: dotnet build --no-restore /p:WarningsAsErrors=nullable - name: Test run: dotnet test --no-build Robust.UnitTesting/Robust.UnitTesting.csproj -v n