Add support for new dehydrated device format #83
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mutation tests (incremental, for PRs) | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- ".cargo/**" | |
- ".github/workflows/mutants.yml" | |
- "Cargo.*" | |
- "src/**" | |
jobs: | |
cargo-mutants: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Relative diff | |
run: | | |
git branch -av | |
git diff origin/${{ github.base_ref }}.. | tee git.diff | |
- name: Install rust | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install cargo-mutants | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: cargo-mutants | |
- name: Run mutant tests | |
run: cargo mutants -vV --no-shuffle --in-place --in-diff git.diff | |
- name: Archive mutants.out | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: mutants-incremental.out | |
path: mutants.out |