Skip to content

F: Add missing TypeSpec type definitions (errors, tracing, streaming, validation, wire) #164

F: Add missing TypeSpec type definitions (errors, tracing, streaming, validation, wire)

F: Add missing TypeSpec type definitions (errors, tracing, streaming, validation, wire) #164

name: prompty CSharp build and test
on:
pull_request:
paths:
- 'runtime/csharp/**'
workflow_dispatch:
workflow_call:
permissions:
contents: read
jobs:
prompty-tests:
name: run unit tests on supported .net versions
runs-on: ${{ matrix.os }}
strategy:
matrix:
dotnet-version: [ '9.0.x' ]
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v5
- name: Setup dotnet ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: dotnet restore
working-directory: ./runtime/csharp
run: dotnet restore
- name: dotnet build
working-directory: ./runtime/csharp
run: dotnet build --nologo
- name: dotnet format check
working-directory: ./runtime/csharp
run: dotnet format --verify-no-changes --verbosity minimal
- name: dotnet test
working-directory: ./runtime/csharp
run: dotnet test --nologo --logger "console;verbosity=normal"