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      working-directory: ${{ inputs.working-directory }}
15      uses: taiki-e/install-action@nextest
16
17    - name: Install Node
18      uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
19      with:
20        node-version: "18"
21
22    - name: Run tests
23      shell: powershell
24      working-directory: ${{ inputs.working-directory }}
25      run: |
26        cargo nextest run --workspace --no-fail-fast --failure-output immediate-final