Skip to content

Disable optional rules by default on the NuGet package scripts (#2958) #2219

Disable optional rules by default on the NuGet package scripts (#2958)

Disable optional rules by default on the NuGet package scripts (#2958) #2219

Workflow file for this run

name: dotnet format
on:
push:
branches: [ main ]
paths:
- '**.cs'
- '.editorconfig'
pull_request:
branches: [ main ]
paths:
- '**.cs'
- '.editorconfig'
merge_group:
workflow_dispatch:
jobs:
check-format:
runs-on: windows-latest
steps:
- name: check out code
uses: actions/[email protected]
- name: Setup .NET 7.0
uses: actions/[email protected]
with:
dotnet-version: 7.0.400
- name: dotnet format
run: dotnet format .\OpenTelemetry.AutoInstrumentation.sln --no-restore --verify-no-changes