Add .editorconfig for styling choices in the project #168
This file contains hidden or 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
| name: LukeBot CI | |
| on: | |
| push: | |
| branches: [ $default-branch, devel ] | |
| pull_request: | |
| branches: [ devel ] | |
| jobs: | |
| linux-build: | |
| name: Linux Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v2 | |
| with: | |
| dotnet-version: 8.0.x | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build Release | |
| run: dotnet build --no-restore -c Release | |
| - name: Build Debug | |
| run: dotnet build --no-restore -c Debug | |
| - name: Test Release | |
| run: dotnet test -c Release --logger "console;verbosity=detailed" LukeBot.sln | |
| - name: Test Debug | |
| run: dotnet test -c Debug --logger "console;verbosity=detailed" LukeBot.sln | |
| windows-build: | |
| name: Windows Build | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v2 | |
| with: | |
| dotnet-version: 8.0.x | |
| - name: Restore | |
| run: dotnet restore LukeBot.sln | |
| - name: Build Release | |
| run: dotnet build --no-restore -c Release | |
| - name: Build Debug | |
| run: dotnet build --no-restore -c Debug | |
| - name: Test Release | |
| run: dotnet test -c Release --logger "console;verbosity=detailed" LukeBot.sln | |
| - name: Test Debug | |
| run: dotnet test -c Debug --logger "console;verbosity=detailed" LukeBot.sln |