Draft: OpenPLX Integration #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will check the formatting of the dotnet source files. | |
# Note that the root .editorconfig additionally specifies other style properties such as sorting and removing unused usings. | |
# This does not work in this action though since the actual .csproj file is generated by Unity | |
name: .NET | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
dotnet-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Format | |
run: dotnet format --verify-no-changes --verbosity diagnostic whitespace --folder . |