add CI for C# snippets

This commit is contained in:
Jesse de Wit
2023-11-03 15:25:13 +01:00
parent 2400d565f4
commit c33acde937

View File

@@ -56,4 +56,20 @@ jobs:
- name: dart-analyze
run: |
cd snippets/dart_snippets
dart analyze --fatal-infos
dart analyze --fatal-infos
check-csharp:
name: Check C# snippets
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
- name: Build the csharp project
working-directory: snippets/csharp
run: dotnet build