Skip to content

chore(prompts): remove pb-build, pb-init, pb-plan, pb-refine agent pr… #70

chore(prompts): remove pb-build, pb-init, pb-plan, pb-refine agent pr…

chore(prompts): remove pb-build, pb-init, pb-plan, pb-refine agent pr… #70

Workflow file for this run

name: Rust Lint
on:
push:
paths:
- 'ledgerflow-balancer/**'
- 'ledgerflow-bot/**'
- 'ledgerflow-eth-cli/**'
- 'ledgerflow-indexer-evm/**'
- 'ledgerflow-indexer-aptos/**'
- 'ledgerflow-indexer-sui/**'
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/rust_lint.yml'
pull_request:
paths:
- 'ledgerflow-balancer/**'
- 'ledgerflow-bot/**'
- 'ledgerflow-eth-cli/**'
- 'ledgerflow-indexer-evm/**'
- 'ledgerflow-indexer-aptos/**'
- 'ledgerflow-indexer-sui/**'
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/rust_lint.yml'
workflow_dispatch:
jobs:
rust-lint:
name: Rust Lint Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust (stable)
uses: dtolnay/rust-toolchain@stable
- name: Install Rust (nightly)
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y libdw-dev
- name: Install just
uses: taiki-e/install-action@just
- name: Install taplo
uses: taiki-e/install-action@v2
with:
tool: taplo-cli
- name: Install cargo-machete
uses: taiki-e/install-action@cargo-machete
- name: Cache cargo registry
uses: actions/cache@v4
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index
uses: actions/cache@v4
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo build
uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- name: CI checks
run: just ci