Rework project #172
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: Validate .NET solution | |
on: | |
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 | |
working-directory: ./src | |
- name: Check .NET code format | |
run: dotnet format --verify-no-changes | |
working-directory: ./src |