Skip to content

Update ci.yml by specifying working directory for restore, build and … #5

Update ci.yml by specifying working directory for restore, build and …

Update ci.yml by specifying working directory for restore, build and … #5

Workflow file for this run

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