Skip to content

chore(deps): Bump Swatinem/rust-cache from 2.8.1 to 2.8.2 #181

chore(deps): Bump Swatinem/rust-cache from 2.8.1 to 2.8.2

chore(deps): Bump Swatinem/rust-cache from 2.8.1 to 2.8.2 #181

Workflow file for this run

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@08c6903cd8c0fde910a37f88322edcfb5dd907a8
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@e97e2d8cc328f1b50210efc529dca0028893a2d9
with:
toolchain: stable
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5
- name: Install cargo-mutants
uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532
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@330a01c490aca151604b8cf639adc76d48f6c5d4
if: always()
with:
name: mutants-incremental.out
path: mutants.out