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
ci: add a step in `check-msrv` get the rust version from `Cargo.toml` (#4001)
Shankar Singh C0aabd86e0014
diff --git a/.github/workflows/CI-pr.yml b/.github/workflows/CI-pr.ymlindex 052afd5d25..efeb31cd1e 100644--- a/.github/workflows/CI-pr.yml+++ b/.github/workflows/CI-pr.yml@@ -111,14 +111,20 @@ jobs:with:make-default: true+ - name: Get rust version from Cargo.toml+ shell: bash+ run: |+ rust_version=$(yq -oy '.workspace.package.rust-version' Cargo.toml)+ echo "rust_version=${rust_version}" >> $GITHUB_ENV+- name: Install Rustuses: dtolnay/rust-toolchain@masterwith:- toolchain: "1.70"+ toolchain: "${{ env.rust_version }}"- uses: Swatinem/[email protected]with:- save-if: ${{ github.event_name == 'push' }}+ save-if: false- name: Install cargo-hackuses: baptiste0928/[email protected]@@ -258,7 +264,7 @@ jobs:- uses: Swatinem/[email protected]with:- save-if: ${{ github.event_name == 'push' }}+ save-if: false# - name: Setup Embark Studios lint rules# shell: bashdiff --git a/.github/workflows/CI-push.yml b/.github/workflows/CI-push.ymlindex c946513f72..ddf00c295b 100644--- a/.github/workflows/CI-push.yml+++ b/.github/workflows/CI-push.yml@@ -58,10 +58,16 @@ jobs:with:make-default: true+ - name: Get rust version from Cargo.toml+ shell: bash+ run: |+ rust_version=$(yq -oy '.workspace.package.rust-version' Cargo.toml)+ echo "rust_version=${rust_version}" >> $GITHUB_ENV+- name: Install Rustuses: dtolnay/rust-toolchain@masterwith:- toolchain: "1.70"+ toolchain: "${{ env.rust_version }}"- uses: Swatinem/[email protected]with: