action.yml

 1name: "Run tests on Windows"
 2description: "Runs the tests on Windows"
 3
 4inputs:
 5  working-directory:
 6    description: "The working directory"
 7    required: true
 8    default: "."
 9
10runs:
11  using: "composite"
12  steps:
13    - name: Install test runner
14      shell: powershell
15      working-directory: ${{ inputs.working-directory }}
16      run: cargo install cargo-nextest --locked
17
18    - name: Install Node
19      uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
20      with:
21        node-version: "18"
22
23    - name: Run tests
24      shell: powershell
25      working-directory: ${{ inputs.working-directory }}
26      run: |
27        cargo nextest run --workspace --no-fail-fast --failure-output immediate-final