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
11
12        - name: Install Node
13          uses: actions/setup-node@v3
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