Обновление платформы до .NET10 #381
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: Testing | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| paths-ignore: | |
| - '.github/workflows/**' | |
| - '**.md' | |
| - '**.docx' | |
| - '**.bat' | |
| - '**.vssettings' | |
| env: | |
| DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
| DOTNET_NOLOGO: true | |
| jobs: | |
| test: | |
| name: Testing | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Cache NuGet | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.nuget/packages | |
| key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-nuget | |
| - name: Building | |
| run: | | |
| dotnet build MathCore.DSP -c Debug | |
| dotnet build Tests/MathCore.DSP.Tests -c Debug | |
| - name: Run Tests | |
| run: dotnet test Tests/MathCore.DSP.Tests --no-build -c Debug |