remove db trait #1064
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: lint | |
| on: | |
| push: | |
| branches: [main, staging, develop] | |
| pull_request: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Protobuf Compiler (protoc) | |
| run: sudo apt-get install -y protobuf-compiler | |
| - name: Setup Rust cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| cache-on-failure: true | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: nightly-2025-09-18 | |
| components: clippy, rustfmt | |
| - name: Setup just | |
| uses: extractions/setup-just@v2 | |
| with: | |
| just-version: 1.5.0 | |
| - name: Check compilation | |
| run: cargo check | |
| - name: Check formatting | |
| run: just fmt-check | |
| - name: Check clippy | |
| run: just clippy |