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

chore(CI): reduce cargo build jobs to 5 (#14798)

Hrithikesh7598069c5552
diff --git a/.github/workflows/CI-pr.yml b/.github/workflows/CI-pr.yml
index f7d5a47009..76a1dbcc4f 100644
--- a/.github/workflows/CI-pr.yml
+++ b/.github/workflows/CI-pr.yml
@@ -221,13 +221,13 @@ jobs:
shell: bash
# Capped: uncapped + cold cache OOM'd a runner pod (git log).
env:
- CARGO_BUILD_JOBS: 9
+ CARGO_BUILD_JOBS: 5
run: just clippy
- name: Run clippy (fred backend)
shell: bash
env:
- CARGO_BUILD_JOBS: 9
+ CARGO_BUILD_JOBS: 5
run: just clippy fred
- name: Check Cargo.lock changed
@@ -353,13 +353,13 @@ jobs:
- name: Run cargo clippy with v2 features enabled (redis-rs backend)
shell: bash
env:
- CARGO_BUILD_JOBS: 9
+ CARGO_BUILD_JOBS: 5
run: just clippy_v2
- name: Run cargo clippy with v2 features enabled (fred backend)
shell: bash
env:
- CARGO_BUILD_JOBS: 9
+ CARGO_BUILD_JOBS: 5
run: just clippy_v2 fred
- name: Show sccache stats
diff --git a/.github/workflows/CI-push.yml b/.github/workflows/CI-push.yml
index e04f7fc39d..a126a3599d 100644
--- a/.github/workflows/CI-push.yml
+++ b/.github/workflows/CI-push.yml
@@ -246,13 +246,13 @@ jobs:
shell: bash
# Capped: uncapped + cold cache OOM'd a runner pod (git log).
env:
- CARGO_BUILD_JOBS: 9
+ CARGO_BUILD_JOBS: 5
run: just clippy
- name: Run clippy (fred backend)
shell: bash
env:
- CARGO_BUILD_JOBS: 9
+ CARGO_BUILD_JOBS: 5
run: just clippy fred
- name: Show sccache stats
@@ -360,13 +360,13 @@ jobs:
- name: Run cargo clippy with v2 features enabled (redis-rs backend)
shell: bash
env:
- CARGO_BUILD_JOBS: 9
+ CARGO_BUILD_JOBS: 5
run: just clippy_v2
- name: Run cargo clippy with v2 features enabled (fred backend)
shell: bash
env:
- CARGO_BUILD_JOBS: 9
+ CARGO_BUILD_JOBS: 5
run: just clippy_v2 fred
- name: Show sccache stats
diff --git a/.github/workflows/cypress-tests-runner.yml b/.github/workflows/cypress-tests-runner.yml
index ec5a4036f1..4e3f39d798 100644
--- a/.github/workflows/cypress-tests-runner.yml
+++ b/.github/workflows/cypress-tests-runner.yml
@@ -203,7 +203,7 @@ jobs:
- name: Build project
if: ${{ env.RUN_TESTS == 'true' }}
env:
- CARGO_BUILD_JOBS: 9
+ CARGO_BUILD_JOBS: 5
run: cargo build --package router --bin router
- name: Show sccache stats
@@ -1865,7 +1865,7 @@ jobs:
if: ${{ env.RUN_TESTS == 'true' }}
env:
RUSTFLAGS: "-Cinstrument-coverage"
- CARGO_BUILD_JOBS: 9
+ CARGO_BUILD_JOBS: 5
run: just build_v2
- name: Show sccache stats