Skip to content

Commit

Permalink
Added code style checking workflow using CSharpier
Browse files Browse the repository at this point in the history
  • Loading branch information
portyanikhin committed Oct 11, 2023
1 parent c2250da commit c537ebe
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Code style

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
code-style:
name: Code style
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Restore tools
run: dotnet tool restore
- name: Check code style
run: dotnet csharpier --check .

0 comments on commit c537ebe

Please sign in to comment.