From f1a3032bf6f04ce16a7febc793620967b812b344 Mon Sep 17 00:00:00 2001 From: cairnsj <51908793+killij@users.noreply.github.com> Date: Thu, 7 Dec 2023 13:23:04 +0000 Subject: [PATCH 1/2] fix: Fix the github workflow directory name --- {github => .github}/workflows/unit-test.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {github => .github}/workflows/unit-test.yml (100%) diff --git a/github/workflows/unit-test.yml b/.github/workflows/unit-test.yml similarity index 100% rename from github/workflows/unit-test.yml rename to .github/workflows/unit-test.yml From 5ea31f6fe6dfa2996687f7a0386bffaf101b5ae5 Mon Sep 17 00:00:00 2001 From: cairnsj <51908793+killij@users.noreply.github.com> Date: Thu, 7 Dec 2023 13:26:35 +0000 Subject: [PATCH 2/2] fix: Set job working directory to 'src' --- .github/workflows/unit-test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 95dfa26..aefec9a 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -16,7 +16,10 @@ jobs: dotnet-version: 8.0.x - name: Restore dependencies run: dotnet restore + working-directory: ./src - name: Build run: dotnet build --no-restore --warnAsError + working-directory: ./src - name: Test run: dotnet test --no-build --verbosity normal + working-directory: ./src