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: skip all-features check in each pull request (#1881)

Arun Raj M200c986f6448
diff --git a/.github/workflows/CI-push.yml b/.github/workflows/CI-push.yml
index e087c694c5..aea0aea656 100644
--- a/.github/workflows/CI-push.yml
+++ b/.github/workflows/CI-push.yml
@@ -77,8 +77,14 @@ jobs:
run: sed -i 's/rustflags = \[/rustflags = \[\n "-Dwarnings",/' .cargo/config.toml
- name: Cargo hack
+ if: ${{ github.event_name == 'push' }}
shell: bash
run: cargo hack check --each-feature --no-dev-deps
+
+ - name: Cargo build release
+ if: ${{ github.event_name == 'merge_group' }}
+ shell: bash
+ run: cargo check --features "release"
# cargo-deny:
# name: Run cargo-deny
@@ -157,9 +163,15 @@ jobs:
run: cargo clippy --all-features --all-targets
- name: Cargo hack
+ if: ${{ github.event_name == 'push' }}
shell: bash
run: cargo hack check --each-feature --no-dev-deps
+ - name: Cargo build release
+ if: ${{ github.event_name == 'merge_group' }}
+ shell: bash
+ run: cargo check --features "release"
+
typos:
name: Spell check
runs-on: ubuntu-latest