From 2d36a13167cc995f7c5f91c1fd09cb4323e5bf61 Mon Sep 17 00:00:00 2001 From: helto4real Date: Mon, 5 Jul 2021 21:59:55 +0200 Subject: [PATCH] add warn as error in build --- .github/workflows/ci_build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml index c1d4594eb..1250f586f 100644 --- a/.github/workflows/ci_build.yml +++ b/.github/workflows/ci_build.yml @@ -26,7 +26,7 @@ jobs: run: echo "::add-matcher::.github/matchers/dotnet.json" - name: 🛠️ Build code - run: dotnet build + run: dotnet build /warnaserror - name: 👀 Test code run: dotnet test -v minimal /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=${{github.workspace}}/codecover/lcov.info