feat(relayer): in-app retry logic (#605) #2660
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Security Analysis" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| pull_request: | |
| workflow_dispatch: | |
| inputs: | |
| force_all_checks: | |
| description: "Trigger all checks even if files are unchanged" | |
| required: false | |
| default: "false" | |
| type: choice | |
| options: [ "false", "true" ] | |
| ignore_failures: | |
| description: "Don't block CI on failed security checks" | |
| required: false | |
| default: "false" | |
| type: choice | |
| options: [ "false", "true" ] | |
| jobs: | |
| build: | |
| name: Static Analysis (${{ matrix.project }}) | |
| runs-on: warp-ubuntu-2204-x64-16x | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| project: [near, solana, omni-relayer] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Install Clippy | |
| id: clippy_setup | |
| continue-on-error: false | |
| run: rustup component add clippy-preview | |
| - name: Run Clippy | |
| id: clippy | |
| continue-on-error: true | |
| working-directory: ./${{ matrix.project }} | |
| run: | | |
| cargo clippy --all-targets --workspace --no-deps --lib -- \ | |
| -D clippy::all -D clippy::pedantic \ | |
| -D clippy::as_conversions \ | |
| -A clippy::missing_errors_doc -A clippy::missing_panics_doc \ | |
| -A clippy::must_use_candidate -A clippy::unreadable_literal \ | |
| -A clippy::similar_names -A clippy::too_long_first_doc_paragraph |