chore(deps): update rust crate rustls to v0.23.44 (#259) #198
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 (Rust CLI) | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'cli/**' | |
| - 'Cargo.toml' | |
| - 'Cargo.lock' | |
| - 'rust-toolchain.toml' | |
| - '.github/workflows/ci-rust.yml' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'cli/**' | |
| - 'Cargo.toml' | |
| - 'Cargo.lock' | |
| - 'rust-toolchain.toml' | |
| - '.github/workflows/ci-rust.yml' | |
| workflow_dispatch: | |
| jobs: | |
| rust: | |
| name: Check CLI | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| - name: Install Linux deps for keyring | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-recommends \ | |
| build-essential pkg-config libdbus-1-dev | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@6bed0761d98439e5a578e2877258200ad565ba87 # stable | |
| with: | |
| toolchain: '1.98' | |
| components: rustfmt,clippy | |
| - name: Cache cargo registry + target | |
| uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2 | |
| - name: Format | |
| run: cargo fmt --all -- --check | |
| - name: Clippy | |
| run: cargo clippy --all-targets -- -D warnings | |
| - name: Test | |
| run: cargo test --bins | |
| - name: Build release | |
| run: cargo build --release --bin ferrvault |