Repository navigation
fix: prevent ledger truncation from starving RPC workers (#1662) #6828
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: Run CI - Lint | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| branches: [master, dev] | |
| paths: | |
| - '**/*.rs' | |
| - '**/Cargo.toml' | |
| - '**/Cargo.lock' | |
| - 'clippy.toml' | |
| - 'Makefile' | |
| - 'test-integration/Makefile' | |
| - '.github/workflows/**' | |
| - '.github/actions/setup-build-env/**' | |
| pull_request: | |
| types: [opened, reopened, synchronize, ready_for_review] | |
| paths: | |
| - '**/*.rs' | |
| - '**/Cargo.toml' | |
| - '**/Cargo.lock' | |
| - 'clippy.toml' | |
| - 'Makefile' | |
| - 'test-integration/Makefile' | |
| - '.github/workflows/**' | |
| - '.github/actions/setup-build-env/**' | |
| jobs: | |
| run_make_ci_lint: | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| steps: | |
| - name: Checkout this magicblock-validator | |
| uses: actions/checkout@v5 | |
| with: | |
| path: magicblock-validator | |
| - uses: ./magicblock-validator/.github/actions/setup-build-env | |
| with: | |
| build_cache_key_name: "magicblock-validator-ci-lint-v002" | |
| rust_toolchain_release: "1.94.1" | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - run: make ci-lint | |
| shell: bash | |
| working-directory: magicblock-validator | |
| - name: Run ci-lint in test-integration | |
| run: | | |
| cd test-integration | |
| make ci-lint | |
| shell: bash | |
| working-directory: magicblock-validator |