From d704935d05772f20a85ccfabe82664ecd5a3a26a Mon Sep 17 00:00:00 2001 From: ok-nick Date: Thu, 3 Aug 2023 12:02:53 -0400 Subject: [PATCH] ci: use pwsh for tests on all platforms --- .github/actions/test/action.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index 9828309..7469627 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -33,16 +33,16 @@ runs: path: ${{ inputs.path }} token: ${{ inputs.token }} - - name: Verify executables in PATH on Bash + - name: Verify executables in PATH on bash run: | - if ! hash selene stylua rojo 2>/dev/null; then - exit 1; - fi + command -v selene + command -v stylua + command -v rojo shell: bash - - name: Verify executables in PATH on PowerShell + - name: Verify executables in PATH on pwsh run: | Get-Command "selene" Get-Command "stylua" Get-Command "rojo" - shell: powershell + shell: pwsh