Fix and improve world ping bugs #467
Workflow file for this run
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
| # Based on workflow from https://github.com/krafs/LevelUp | |
| name: Validate Pull Request | |
| env: | |
| SLN_PATH: Source/ | |
| on: | |
| pull_request | |
| jobs: | |
| builds: | |
| name: Builds | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 9.x | |
| env: | |
| DOTNET_NOLOGO: true | |
| DOTNET_CLI_TELEMETRY_OPTOUT: true | |
| - name: Restore dependencies | |
| run: dotnet restore ${{ env.SLN_PATH }} | |
| - name: Build debug | |
| run: dotnet build ${{ env.SLN_PATH }} --no-restore | |
| - name: Build release | |
| run: dotnet build ${{ env.SLN_PATH }} --configuration Release --no-restore | |
| - name: Run tests | |
| run: dotnet test ${{ env.SLN_PATH }} --no-restore |