chore: Update examples with latest nuget versions. Fix PTENV check in tests #76
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: Examples Tests | |
| on: | |
| push: | |
| paths: | |
| - "examples/**" | |
| branches: [develop] | |
| pull_request: | |
| paths: | |
| - "examples/**" | |
| branches: [develop] | |
| defaults: | |
| run: | |
| working-directory: ./examples | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Setup .NET SDK | |
| uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # 5.0.0 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| - name: Install dependencies | |
| run: dotnet restore | |
| - name: Install global tools | |
| run: dotnet tool install --global Apache.Avro.Tools | |
| - name: Build | |
| run: dotnet build --configuration Release --no-restore /tl | |
| - name: Test Examples | |
| run: dotnet test --no-restore --verbosity normal |