From 64ef1186ee2923d86d33f9d724c2c78a119877e2 Mon Sep 17 00:00:00 2001 From: Paulo Dias Date: Fri, 26 Sep 2025 23:28:53 +0100 Subject: [PATCH] [chore][ci] improve Build gotestsum for Windows Signed-off-by: Paulo Dias --- .github/workflows/scoped-test.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/scoped-test.yaml b/.github/workflows/scoped-test.yaml index 3cdc5218483fc..1b242271a2cbb 100644 --- a/.github/workflows/scoped-test.yaml +++ b/.github/workflows/scoped-test.yaml @@ -78,14 +78,9 @@ jobs: if: steps.go-setup.outputs.cache-hit != 'true' run: make install-tools - - name: Build gotestsum on Windows - if: runner.os == 'Windows' - shell: pwsh # Explicitly set the shell to avoid actionlint treating this an attempt to escape single quote - run: make "$(${PWD} -replace '\\', '/')/.tools/gotestsum" - - name: Build gotestsum - if: runner.os != 'Windows' - run: make "$PWD/.tools/gotestsum" + working-directory: ${{ github.workspace }} + run: make .tools/gotestsum - name: Run changed tests if: needs.changedfiles.outputs.go_tests