Skip to content

Commit

Permalink
Run on-ref-slice-fork with both git and sparse
Browse files Browse the repository at this point in the history
index
  • Loading branch information
Jake-Shadle committed Jul 28, 2023
1 parent e986460 commit 40909d3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1250,6 +1250,9 @@ jobs:
# - cargo-semver-checks detects the semver break we've manufactured.
name: 'Semver: ref-slice fork'
runs-on: ubuntu-latest
strategy:
matrix:
protocol: ["git", "sparse"]
needs:
- build-binary
steps:
Expand Down Expand Up @@ -1294,6 +1297,8 @@ jobs:
- name: Run semver-checks
continue-on-error: true
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: ${{ matrix.protocol }}
run: |
cd semver
set -euo pipefail
Expand Down Expand Up @@ -1342,6 +1347,9 @@ jobs:
# (see https://github.com/frewsxcv/rust-crates-index/issues/97).
name: 'Semver: ref-slice fork (Windows)'
runs-on: windows-latest
strategy:
matrix:
protocol: ["git", "sparse"]
needs:
- build-binary-windows
steps:
Expand Down Expand Up @@ -1387,6 +1395,8 @@ jobs:
- name: Run cargo-semver-checks
continue-on-error: true
id: semver_checks
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: ${{ matrix.protocol }}
run: |
cd semver
..\bins\cargo-semver-checks.exe semver-checks check-release --manifest-path="..\subject\Cargo.toml" 2>&1 | tee output
Expand Down

0 comments on commit 40909d3

Please sign in to comment.