Skip to content

remove GA (#846)

remove GA (#846) #1

name: Protobuf Client Tests
on:
push:
branches: ["main"]
paths:
- 'sdk/clients/protobuf-client/csharp/**'
pull_request:
branches: ["main"]
paths:
- 'sdk/clients/protobuf-client/csharp/**'
jobs:
test:
name: Build and Test Protobuf Client
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [8.x]
steps:
- uses: actions/checkout@v4
- name: Setup .NET ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore dependencies
run: dotnet restore sdk/clients/protobuf-client/csharp/Azure.Messaging.WebPubSub.Client.Protobuf.sln
- name: Build solution
run: dotnet build sdk/clients/protobuf-client/csharp/Azure.Messaging.WebPubSub.Client.Protobuf.sln --no-restore
- name: Run tests
run: dotnet test sdk/clients/protobuf-client/csharp/Azure.Messaging.WebPubSub.Client.Protobuf.sln --no-build
- name: Build Samples
run: |
dotnet build sdk/clients/protobuf-client/csharp/samples/WebPubSubProtobufSample/WebPubSubProtobufSample.csproj