Update implementation to latest documented format #127
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 | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build-and-test: | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
configuration: [debug, release] | |
runs-on: ${{matrix.os}} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 9.0.x | |
- name: Show dotnet info | |
run: dotnet --info | |
- name: Restore | |
run: dotnet restore src | |
- name: Check Formatting | |
run: dotnet format --verify-no-changes src --verbosity diagnostic | |
- name: Build | |
run: dotnet build src -c ${{matrix.configuration}} --no-restore | |
- name: Test | |
run: dotnet test src -c ${{matrix.configuration}} --no-build |