From 64a16ab431714efdb79c13ebd69c58d3b75fce97 Mon Sep 17 00:00:00 2001 From: askazakov Date: Fri, 12 Mar 2021 15:01:45 +0500 Subject: [PATCH] add gha for linting by csharpier --- .github/workflows/pr.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/pr.yml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 0000000..55d55bf --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,15 @@ +on: + push: + branches: + - "**" + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/setup-dotnet@v1 + - uses: actions/checkout@v2 + - name: install & run csharpier + run: | + dotnet tool install -g csharpier + dotnet csharpier \ No newline at end of file