fix: Add PushNotificationConfig types to JSON serialization context (… #574
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
| # This workflow will build a .NET project | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
| name: .NET | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| jobs: | |
| buildLibs: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| include: | |
| - dotnet-version: 8.x | |
| framework: net8.0 | |
| - dotnet-version: 9.x | |
| framework: net9.0 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup .NET 9.x | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 9.x | |
| - name: Setup .NET ${{ matrix.dotnet-version }} | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: ${{ matrix.dotnet-version }} | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: BuildLibs | |
| run: dotnet build ./src/A2ALibs.slnx --framework ${{ matrix.framework }} | |
| - name: BuildNetStandard | |
| run: dotnet build ./src/A2A/A2A.csproj --framework netstandard2.0 | |
| - name: TestLibs | |
| run: dotnet test ./src/A2ALibs.slnx --no-build --verbosity normal --framework ${{ matrix.framework }} | |
| buildSamples: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup .NET 9.x | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 9.x | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: BuildLibs | |
| run: dotnet build --framework net9.0 | |
| - name: TestLibs | |
| run: dotnet test --no-build --verbosity normal --framework net9.0 |