Update OpenAPI spec and regenerate libs #369
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: Csharp Lint | |
on: | |
pull_request: | |
paths: | |
- "csharp/**" | |
- "openapi.json" | |
jobs: | |
dotnet: | |
name: C# Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET Core SDK | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 5.0.x | |
- name: Regen openapi libs | |
run: | | |
yarn | |
./regen_openapi.sh | |
- name: Install dependencies | |
run: | | |
cd csharp | |
dotnet restore | |
- name: Build | |
run: | | |
cd csharp | |
dotnet build --configuration Release Svix --no-restore |