This repository was archived by the owner on Aug 12, 2025. It is now read-only.
Recycle miner emissions (#152) #379
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: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - "**" | |
| push: | |
| branches: | |
| - "main" | |
| jobs: | |
| checks: | |
| name: Checks for linting and formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Rust | |
| uses: dtolnay/rust-toolchain@nightly | |
| with: | |
| components: clippy, rustfmt | |
| - name: Set up Rust cache | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Linting check | |
| run: | | |
| cargo clippy --workspace --all-targets --all-features -- --deny warnings | |
| cargo clippy --workspace --all-targets --no-default-features -- --deny warnings | |
| - name: Formatting check | |
| run: cargo fmt --check --all |