Skip to content

Commit

Permalink
Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane32 committed Jun 5, 2024
1 parent f852baa commit cc42c16
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/wf-verify-formatting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Format (Pull Request)
on:
pull_request:
branches:
- master
workflow_dispatch:

jobs:
format:
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
name: Checkout Code

- name: Install additional .NET SDKs
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
1.0.x
2.0.x
5.0.x
6.0.x
8.0.x
- name: Restore NuGet Packages
run: dotnet restore

- name: Build library
run: dotnet format --verify-no-changes --verbosity detailed

0 comments on commit cc42c16

Please sign in to comment.