Add mutants dependency #10
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
# Try cargo-mutants on itself! | |
name: cargo-mutants | |
on: | |
push: | |
jobs: | |
cargo-mutants: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache Cargo | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
target | |
key: | |
cargo-mutants-self-${{ runner.os }}-${{ hashFiles('Cargo.lock') }} | |
- name: Build | |
run: | | |
cargo build --release | |
- name: Mutants | |
run: | | |
cargo run --release mutants --no-shuffle --caught --unviable --exclude console.rs | |
- name: Archive mutants.out | |
uses: actions/upload-artifact@v3 | |
with: | |
name: mutants.out | |
path: mutants.out |