Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

ci(CI-pr): disable `cargo-hack` step for hotfix PRs (#7334)

Sanchith Hegde3ae4ce3e970b
diff --git a/.github/workflows/CI-pr.yml b/.github/workflows/CI-pr.yml
index b337a17995..fffc5f03a0 100644
--- a/.github/workflows/CI-pr.yml
+++ b/.github/workflows/CI-pr.yml
@@ -87,6 +87,7 @@ jobs:
check-msrv:
name: Check compilation on MSRV toolchain
runs-on: ${{ matrix.runner }}
+ if: ${{ ! startsWith(github.event.pull_request.base.ref, 'hotfix-') }}
env:
# Use `sccache` for caching compilation artifacts
@@ -284,11 +285,17 @@ jobs:
fi
- name: Run cargo check
+ if: ${{ ! startsWith(github.event.pull_request.base.ref, 'hotfix-') }}
shell: bash
env:
GH_TOKEN: ${{ github.token }}
run: just ci_hack
+ - name: Cargo build release
+ if: ${{ startsWith(github.event.pull_request.base.ref, 'hotfix-') }}
+ shell: bash
+ run: cargo check --features release
+
typos:
name: Spell check
runs-on: ubuntu-latest