test(plugin): version-by-version plugin test framework + CAP scenario (closes #565) #70
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
| name: NET CI AND IT | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| 10.0.x | |
| - name: Setup Submodule | |
| run: git submodule update --init | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build Protocol | |
| run: dotnet build src/SkyApm.Transport.Protocol --no-restore | |
| - name: Build | |
| run: dotnet build --no-restore | |
| - name: Test net8.0 | |
| run: dotnet test --no-build --verbosity normal --framework net8.0 | |
| - name: Test net10.0 | |
| run: dotnet test --no-build --verbosity normal --framework net10.0 |