Skip to content

add support for .NET 8 #15

add support for .NET 8

add support for .NET 8 #15

name: .NET Codestyle
on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- '**/dotnet/*.cs'
- '.github/workflows/dotnet-codestyle.yml'
pull_request:
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- '**/dotnet/*.cs'
- '.github/workflows/dotnet-codestyle.yml'
jobs:
check-dotnet-codestyle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Run Binding Codestyle
run: dotnet format --verify-no-changes --no-restore
working-directory: sdk/dotnet
- name: Run Demo Codestyle
run: dotnet format --verify-no-changes --no-restore
working-directory: demo/dotnet