Enable CI workflow to build and test #6
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: CI | |
on: [push, pull_request] | |
jobs: | |
ci: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
- name: Display .NET version | |
run: dotnet --version | |
- name: Restore dependencies | |
run: dotnet restore | |
working-directory: src | |
- name: Build | |
run: dotnet build --configuration Release --no-restore | |
working-directory: src | |
- name: Test | |
run: dotnet test --configuration Release --no-restore --no-build | |
working-directory: src |