action.yml

 1name: "Run tests"
 2description: "Runs the tests"
 3
 4runs:
 5  using: "composite"
 6  steps:
 7    - name: Install Rust
 8      shell: bash -euxo pipefail {0}
 9      run: |
10        cargo install cargo-nextest --locked
11
12    - name: Install Node
13      uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
14      with:
15        node-version: "18"
16
17    - name: Limit target directory size
18      shell: bash -euxo pipefail {0}
19      run: script/clear-target-dir-if-larger-than 100
20
21    - name: Run tests
22      shell: bash -euxo pipefail {0}
23      run: cargo nextest run --workspace --no-fail-fast --failure-output immediate-final