From 666fb9e2af46615ccc1d976a20ca2e85c32685fc Mon Sep 17 00:00:00 2001 From: DrSmugleaf Date: Mon, 15 Mar 2021 17:23:57 +0100 Subject: [PATCH] Make the YAML linter build step ignore nullable warnings Now it will run even if there are nullable warnings. --- .github/workflows/yaml-linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/yaml-linter.yml b/.github/workflows/yaml-linter.yml index 5d0959c0c5..ea0990d8e6 100644 --- a/.github/workflows/yaml-linter.yml +++ b/.github/workflows/yaml-linter.yml @@ -23,6 +23,6 @@ jobs: - name: Install dependencies run: dotnet restore - name: Build - run: dotnet build --configuration Release --no-restore /m + run: dotnet build --configuration Release --no-restore /p:WarningsAsErrors= /m - name: Run Linter run: dotnet run --project Content.YAMLLinter/Content.YAMLLinter.csproj --no-build