Skip to content

nuke target for verifying .NET SDK versions used #3193

nuke target for verifying .NET SDK versions used

nuke target for verifying .NET SDK versions used #3193

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: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag: v4.2.2
- name: Setup .NET 8
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # tag: v4.0.1
with:
dotnet-version: 8.0.403
- name: dotnet format
run: dotnet format .\OpenTelemetry.AutoInstrumentation.sln --no-restore --verify-no-changes