Skip to content

Use exit code instead of command output to check if command exists #22

Use exit code instead of command output to check if command exists

Use exit code instead of command output to check if command exists #22

Workflow file for this run

name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test-on-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Run Tests
run: dotnet test --verbosity normal
test-on-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Run Tests
run: dotnet test --verbosity normal