Bump sea-orm to 1.1.19 and change async runtime to tokio #73
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 code | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| components: clippy | |
| - name: Lint with all features | |
| run: cargo clippy --lib --workspace --all-features --all-targets -- -D warnings | |
| - name: Lint with no features | |
| run: cargo clippy --lib --workspace --no-default-features -- -D warnings | |
| - name: Lint with electrum feature | |
| run: cargo clippy --lib --workspace --no-default-features --features electrum -- -D warnings | |
| - name: Lint with esplora feature | |
| run: cargo clippy --lib --workspace --no-default-features --features esplora -- -D warnings | |
| - name: Lint c-ffi bindings | |
| working-directory: ./bindings/c-ffi | |
| run: cargo clippy | |
| - name: Lint uniffi bindings | |
| working-directory: ./bindings/uniffi | |
| run: cargo clippy | |
| - name: check Cargo.lock files are up-to-date | |
| run: git diff --quiet || exit 1 |