Skip to content

ci: Run lint jobs when the workflow definition changes #413

ci: Run lint jobs when the workflow definition changes

ci: Run lint jobs when the workflow definition changes #413

Workflow file for this run

name: C# Lint
on:
pull_request:
paths:
- "csharp/**"
- "openapi.json"
- '.github/workflows/csharp-lint.yml'
jobs:
dotnet:
name: C# Lint
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v1.7.2
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