From 5f20c4873e6847c85574fc6c53fb1bf01285944b Mon Sep 17 00:00:00 2001 From: James Bristow Date: Fri, 9 Feb 2024 02:34:21 +1300 Subject: [PATCH] Update unit-tests.yaml --- .github/workflows/unit-tests.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index f447f50..4957220 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -10,9 +10,10 @@ on: workflow_dispatch: {} permissions: - actions: write - contents: write - + contents: read + actions: read + checks: write + jobs: build: runs-on: ubuntu-latest @@ -35,12 +36,12 @@ jobs: - name: run run: | - dotnet test --test-adapter-path:. --logger:"junit;LogFilePath=/tmp/unit_results.xml" + dotnet test --test-adapter-path:. --logger:"junit;LogFilePath=unit_results.xml" - name: Test Report uses: dorny/test-reporter@v1 if: success() with: name: Unit Tests - path: /tmp/unit_results.xml - reporter: java-junit \ No newline at end of file + path: unit_results.xml + reporter: java-junit