Skip to content

Commit

Permalink
Add dotnet-format.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sh1ngekyo committed Oct 9, 2023
1 parent 8b5e921 commit 17aef3b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/dotnet-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: dotnet format

on: [push, pull_request]

jobs:
check-format:
runs-on: ubuntu-latest

steps:
- name: Setup .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: '7.0.x'

- name: Check out code
uses: actions/checkout@v2

- name: Run dotnet format
run: dotnet format --no-restore --verify-no-changes

0 comments on commit 17aef3b

Please sign in to comment.