Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Validate .NET code samples #125

Validate .NET code samples

Validate .NET code samples #125

Workflow file for this run

name: Validate .NET code samples
on:
schedule:
- cron: '0 0 * * 2'
workflow_dispatch:
pull_request:
jobs:
validate-dotnet:
name: Validate .NET solution
runs-on: ubuntu-latest
container: mcr.microsoft.com/dotnet/sdk:8.0
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check .NET version
run: dotnet --version
- name: Build .NET solution
run: dotnet build cosmoschatgpt.sln
working-directory: ./src
- name: Check .NET code format
run: dotnet format --verify-no-changes cosmoschatgpt.sln
working-directory: ./src