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: remove cargo check (#9819)

Pa1NarK06484931ea3c
diff --git a/.github/workflows/CI-pr.yml b/.github/workflows/CI-pr.yml
index 8359bc7990..ec1bc0141e 100644
--- a/.github/workflows/CI-pr.yml
+++ b/.github/workflows/CI-pr.yml
@@ -121,59 +121,14 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- # - name: Install sccache
- # uses: taiki-e/install-action@v2
- # with:
- # tool: sccache
- # checksum: true
-
- name: Install rust cache
uses: Swatinem/[email protected]
with:
save-if: false
- - name: Install cargo-hack
- uses: taiki-e/install-action@v2
- with:
- tool: cargo-hack
- checksum: true
-
- - name: Install just
- uses: taiki-e/install-action@v2
- with:
- tool: just
- checksum: true
-
- - name: Install jq
- shell: bash
- run: .github/scripts/install-jq.sh
-
- - name: Cargo hack
+ - name: Run cargo check
shell: bash
- env:
- GH_TOKEN: ${{ github.token }}
- run: just ci_hack
-
- # cargo-deny:
- # name: Run cargo-deny
- # runs-on: ubuntu-latest
- # strategy:
- # matrix:
- # checks:
- # - advisories
- # - bans licenses sources
-
- # # Prevent sudden announcement of a new advisory from failing CI
- # continue-on-error: ${{ matrix.checks == 'advisories' }}
-
- # steps:
- # - name: Checkout repository
- # uses: actions/checkout@v4
-
- # - name: Run cargo-deny
- # uses: EmbarkStudios/[email protected]
- # with:
- # command: check ${{ matrix.checks }}
+ run: cargo check --features "release"
test:
name: Run tests on stable toolchain
@@ -229,39 +184,17 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- # - name: Install sccache
- # uses: taiki-e/install-action@v2
- # with:
- # tool: sccache
- # checksum: true
-
- name: Install rust cache
uses: Swatinem/[email protected]
with:
save-if: false
- - name: Install cargo-hack
- uses: taiki-e/install-action@v2
- with:
- tool: cargo-hack
- checksum: true
-
- name: Install just
uses: taiki-e/install-action@v2
with:
tool: just
checksum: true
- - name: Install jq
- shell: bash
- run: .github/scripts/install-jq.sh
-
- # - name: Install cargo-nextest
- # uses: taiki-e/install-action@v2
- # with:
- # tool: cargo-nextest
- # checksum: true
-
- name: Run clippy
shell: bash
run: just clippy
@@ -279,16 +212,8 @@ 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
+ run: cargo check --features "release"
typos:
name: Spell check