Skip to content

Merging NATS .NET Client Library v1 and v2 Packages into a Unified >v2.4.x #466

Merging NATS .NET Client Library v1 and v2 Packages into a Unified >v2.4.x

Merging NATS .NET Client Library v1 and v2 Packages into a Unified >v2.4.x #466

Workflow file for this run

name: Format
on:
pull_request: {}
jobs:
check:
name: check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'
- name: Check formatting
run: |
if dotnet format --exclude ./src/NATS.Client/v1/ --verify-no-changes; then
echo "formatting passed"
else
rc="$?"
echo "formatting failed; run 'dotnet format'" >&2
exit "$rc"
fi