Update OpenAPI spec and regenerate libs #565
Workflow file for this run
This file contains 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: C# Lint | |
on: | |
pull_request: | |
paths: | |
- "csharp/**" | |
- "lib-openapi.json" | |
- '.github/workflows/csharp-lint.yml' | |
jobs: | |
dotnet: | |
name: C# Lint | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET Core SDK | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install dependencies | |
run: | | |
cd csharp | |
dotnet restore | |
dotnet tool install csharpier -g | |
- name: Check formatting | |
run: | | |
cd csharp | |
dotnet csharpier --check Svix.Tests | |
dotnet csharpier --check Svix | |
- name: Build | |
run: dotnet build --configuration Release --no-restore | |
working-directory: ./csharp | |
- name: Test | |
run: dotnet test Svix.Tests | |
working-directory: ./csharp |