docs: add RFC-0136 deterministic DFP-BigInt conversion #497
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
| # Formatting + Style | |
| # Keeps multi-contributor code consistent | |
| name: Lint | |
| on: | |
| pull_request: | |
| branches: [main, next] | |
| push: | |
| branches: [next, feat/**, agent/**, research/**, hotfix/**] | |
| merge_group: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.11 | |
| - name: Install linters | |
| run: | | |
| npm install -g prettier || true | |
| pip install black flake8 || true | |
| cargo install cargo-audit || true | |
| - name: Rust format check | |
| run: | | |
| if [ -f Cargo.toml ]; then cargo fmt --all -- --check; fi | |
| - name: Rust clippy | |
| run: | | |
| if [ -f Cargo.toml ]; then cargo clippy --all-targets --all-features -- -D warnings || true; fi | |
| - name: Run Prettier | |
| run: prettier --check . || true | |
| - name: Run Python format checks | |
| run: | | |
| black --check . || true | |
| flake8 . || true |