From e7b93393f40604e3f1a3846fae283644b77147e9 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Mon, 13 Sep 2021 21:20:45 +0200 Subject: [PATCH] CI: Adding coding style workflow --- .github/workflows/coding-style.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/coding-style.yml diff --git a/.github/workflows/coding-style.yml b/.github/workflows/coding-style.yml new file mode 100644 index 00000000..ebb0ef1a --- /dev/null +++ b/.github/workflows/coding-style.yml @@ -0,0 +1,15 @@ +name: CodingStyle +on: [pull_request, workflow_dispatch] + +jobs: + build: + name: "Coding style check" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 5.0.x + - name: Build the app + run: dotnet build -p:CheckCodingStyle=true -p:TreatWarningsAsErrors=true