chore(deps): bump anyhow from 1.0.102 to 1.0.103 #203
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: 1 | |
| SQLX_OFFLINE: "true" | |
| jobs: | |
| build: | |
| name: build + test + clippy | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Install Rust toolchain (from rust-toolchain.toml) | |
| uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable | |
| with: | |
| components: rustfmt, clippy | |
| - name: Install protoc (tonic-build dep) | |
| run: sudo apt-get update && sudo apt-get install -y protobuf-compiler | |
| - name: Cache cargo | |
| uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 | |
| - name: cargo fmt --check | |
| run: cargo fmt --all -- --check | |
| - name: cargo build (workspace) | |
| run: cargo build --workspace --locked | |
| - name: cargo nextest | |
| uses: taiki-e/install-action@da71d5095c1b175e60393b8d36727208ae905210 # nextest | |
| - run: cargo nextest run --workspace --locked --no-tests=pass | |
| - name: cargo clippy -D warnings | |
| run: cargo clippy --workspace --all-targets --locked -- -D warnings | |
| deny: | |
| name: cargo-deny (licenses + advisories) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| # Install cargo-deny from a cached prebuilt binary instead of the | |
| # cargo-deny-action's per-run Docker build (apk + curl download of the | |
| # musl binary), which flaked twice on transient apk/GH-release hiccups. | |
| - name: Install Rust toolchain (from rust-toolchain.toml) | |
| uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable | |
| - name: Install cargo-deny | |
| uses: taiki-e/install-action@da71d5095c1b175e60393b8d36727208ae905210 # cargo-deny | |
| with: | |
| tool: cargo-deny | |
| # `--all-features` is a global (cargo-metadata) flag → must precede the subcommand. | |
| - run: cargo deny --all-features check |