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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
chore: run clippy with default number of jobs in github workflows (#7088)
Hrithikesh337095bce8c5
diff --git a/.github/workflows/CI-pr.yml b/.github/workflows/CI-pr.ymlindex d01c26d511..b337a17995 100644--- a/.github/workflows/CI-pr.yml+++ b/.github/workflows/CI-pr.yml@@ -90,7 +90,7 @@ jobs:env:# Use `sccache` for caching compilation artifacts- RUSTC_WRAPPER: sccache+ # RUSTC_WRAPPER: sccacheRUSTFLAGS: "-D warnings"strategy:@@ -126,11 +126,16 @@ jobs:with:repo-token: ${{ secrets.GITHUB_TOKEN }}- - name: Install sccache- uses: taiki-e/[email protected]- with:- tool: sccache- checksum: true+ # - name: Install sccache+ # uses: taiki-e/[email protected]+ # with:+ # tool: sccache+ # checksum: true++ - name: Install rust cache+ uses: Swatinem/[email protected]+ with:+ save-if: false- name: Install cargo-hackuses: taiki-e/[email protected]@@ -181,7 +186,7 @@ jobs:env:# Use `sccache` for caching compilation artifacts- RUSTC_WRAPPER: sccache+ # RUSTC_WRAPPER: sccacheRUSTFLAGS: "-D warnings"strategy:@@ -229,11 +234,16 @@ jobs:with:repo-token: ${{ secrets.GITHUB_TOKEN }}- - name: Install sccache- uses: taiki-e/[email protected]- with:- tool: sccache- checksum: true+ # - name: Install sccache+ # uses: taiki-e/[email protected]+ # with:+ # tool: sccache+ # checksum: true++ - name: Install rust cache+ uses: Swatinem/[email protected]+ with:+ save-if: false- name: Install cargo-hackuses: taiki-e/[email protected]@@ -259,7 +269,7 @@ jobs:- name: Run clippyshell: bash- run: just clippy --jobs 2+ run: just clippy- name: Check Cargo.lock changedif: ${{ (github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name) }}@@ -315,7 +325,9 @@ jobs:repo-token: ${{ secrets.GITHUB_TOKEN }}- name: Install rust cache- uses: Swatinem/[email protected]+ uses: Swatinem/[email protected]+ with:+ save-if: false- name: Install justuses: taiki-e/[email protected]diff --git a/.github/workflows/CI-push.yml b/.github/workflows/CI-push.ymlindex e17ce46d85..306e681259 100644--- a/.github/workflows/CI-push.yml+++ b/.github/workflows/CI-push.yml@@ -43,7 +43,7 @@ jobs:env:# Use `sccache` for caching compilation artifacts- RUSTC_WRAPPER: sccache+ # RUSTC_WRAPPER: sccacheRUSTFLAGS: "-D warnings"strategy:@@ -78,15 +78,15 @@ jobs:with:repo-token: ${{ secrets.GITHUB_TOKEN }}- - name: Install sccache- uses: taiki-e/[email protected]- with:- tool: sccache- checksum: true-- # - uses: Swatinem/[email protected]+ # - name: Install sccache+ # uses: taiki-e/[email protected]# with:- # save-if: ${{ github.event_name == 'push' }}+ # tool: sccache+ # checksum: true++ - uses: Swatinem/[email protected]+ with:+ save-if: ${{ github.event_name == 'push' }}- name: Install cargo-hackuses: baptiste0928/[email protected]@@ -140,7 +140,7 @@ jobs:env:# Use `sccache` for caching compilation artifacts- RUSTC_WRAPPER: sccache+ # RUSTC_WRAPPER: sccacheRUSTFLAGS: "-D warnings"strategy:@@ -170,11 +170,11 @@ jobs:with:repo-token: ${{ secrets.GITHUB_TOKEN }}- - name: Install sccache- uses: taiki-e/[email protected]- with:- tool: sccache- checksum: true+ # - name: Install sccache+ # uses: taiki-e/[email protected]+ # with:+ # tool: sccache+ # checksum: true- name: Install cargo-hackuses: baptiste0928/[email protected]@@ -196,13 +196,13 @@ jobs:# with:# crate: cargo-nextest- # - uses: Swatinem/[email protected]- # with:- # save-if: ${{ github.event_name == 'push' }}+ - uses: Swatinem/[email protected]+ with:+ save-if: ${{ github.event_name == 'push' }}- name: Run clippyshell: bash- run: just clippy --jobs 2+ run: just clippy- name: Cargo hackif: ${{ github.event_name == 'push' }}@@ -249,7 +249,7 @@ jobs:repo-token: ${{ secrets.GITHUB_TOKEN }}- name: Install rust cache- uses: Swatinem/[email protected]+ uses: Swatinem/[email protected]- name: Run cargo check enabling only the release and v2 featuresshell: bashdiff --git a/.github/workflows/connector-sanity-tests.yml b/.github/workflows/connector-sanity-tests.ymlindex 48e6a946a4..1f10828de9 100644--- a/.github/workflows/connector-sanity-tests.yml+++ b/.github/workflows/connector-sanity-tests.yml@@ -86,7 +86,9 @@ jobs:with:toolchain: stable 2 weeks ago- - uses: Swatinem/[email protected]+ - uses: Swatinem/[email protected]+ with:+ save-if: false- name: Decrypt connector auth fileenv:diff --git a/.github/workflows/connector-ui-sanity-tests.yml b/.github/workflows/connector-ui-sanity-tests.ymlindex f3d4635ab1..9cad6191f0 100644--- a/.github/workflows/connector-ui-sanity-tests.yml+++ b/.github/workflows/connector-ui-sanity-tests.yml@@ -122,7 +122,9 @@ jobs:toolchain: stable- name: Build and Cache Rust Dependencies- uses: Swatinem/[email protected]+ uses: Swatinem/[email protected]+ with:+ save-if: false- name: Install Diesel CLI with Postgres Supportuses: baptiste0928/[email protected]diff --git a/.github/workflows/postman-collection-runner.yml b/.github/workflows/postman-collection-runner.ymlindex b8ce65f4b6..bc6bd7849f 100644--- a/.github/workflows/postman-collection-runner.yml+++ b/.github/workflows/postman-collection-runner.yml@@ -92,7 +92,9 @@ jobs:- name: Build and Cache Rust Dependenciesif: ${{ ((github.event_name == 'pull_request') && (github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name)) || (github.event_name == 'merge_group')}}- uses: Swatinem/[email protected]+ uses: Swatinem/[email protected]+ with:+ save-if: false- name: Install Protocif: ${{ ((github.event_name == 'pull_request') && (github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name)) || (github.event_name == 'merge_group')}}