Skip to content

Commit

Permalink
Merge branch 'main' into recurse-2
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog committed Sep 14, 2023
2 parents eb9b918 + 2f1ff7c commit 1d319e6
Show file tree
Hide file tree
Showing 22 changed files with 422 additions and 203 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ permissions:

on:
push:
branches:
- main
paths:
- ".github/workflows/install.yml"
schedule:
- cron: "17 0 * * 1"

jobs:
cargo-install:
strategy:
matrix:
locked: ["", "--locked"]
runs-on: ubuntu-latest
steps:
- uses: Swatinem/rust-cache@v2
- name: cargo-install
run: |
cargo install cargo-mutants
cargo install cargo-mutants ${{ matrix.locked }}
11 changes: 5 additions & 6 deletions .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/toolchain@v1
name: Install older toolchain
- name: Toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
override: true
- name: Show Cargo and rustc version
run: |
cargo --version
rustc --version
cargo +${{ matrix.toolchain }} --version
rustc +${{ matrix.toolchain }} --version
- name: Test
run: cargo test --workspace
run: cargo +${{ matrix.toolchain }} test --workspace
4 changes: 2 additions & 2 deletions .github/workflows/mutate-self.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
push:
branches:
- main
- ci-mutants
- ci-*

env:
# Some runners, especially on Windows, have uneven performance; allow lots
Expand All @@ -26,7 +26,7 @@ jobs:
cargo install --path .
- name: Mutants
run: |
cargo mutants --no-shuffle --exclude console.rs
cargo mutants --no-shuffle --exclude console.rs -j 2
- name: Archive mutants.out
uses: actions/upload-artifact@v3
if: always()
Expand Down
Loading

0 comments on commit 1d319e6

Please sign in to comment.