ci: use pwsh for tests on all platforms

This commit is contained in:
ok-nick 2023-08-03 12:02:53 -04:00
parent fcd6610c4a
commit d704935d05
No known key found for this signature in database
GPG key ID: E6F3F722530600D2

View file

@ -33,16 +33,16 @@ runs:
path: ${{ inputs.path }} path: ${{ inputs.path }}
token: ${{ inputs.token }} token: ${{ inputs.token }}
- name: Verify executables in PATH on Bash - name: Verify executables in PATH on bash
run: | run: |
if ! hash selene stylua rojo 2>/dev/null; then command -v selene
exit 1; command -v stylua
fi command -v rojo
shell: bash shell: bash
- name: Verify executables in PATH on PowerShell - name: Verify executables in PATH on pwsh
run: | run: |
Get-Command "selene" Get-Command "selene"
Get-Command "stylua" Get-Command "stylua"
Get-Command "rojo" Get-Command "rojo"
shell: powershell shell: pwsh