fix for retro vote quality negative values #224
Workflow file for this run
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: Neurons Checks | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| voting-check: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./neurons | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: 1.85.0 | |
| components: clippy, rustfmt | |
| - uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 | |
| with: | |
| workspaces: ./neurons | |
| cache-all-crates: true | |
| - name: Run tests | |
| run: | | |
| cargo test | |
| - name: Formatting check | |
| run: | | |
| cargo fmt --check | |
| - name: Lint with clippy | |
| run: | |
| cargo lint |