chore(deps): bump clap from 4.5.43 to 4.5.49 #1929
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": | |
| workflow_dispatch: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| merge_group: | |
| env: | |
| toolchain: stable | |
| CARGO_HTTP_MULTIPLEXING: false | |
| CARGO_TERM_COLOR: always | |
| CARGO_UNSTABLE_SPARSE_REGISTRY: true | |
| CARGO_INCREMENTAL: 0 | |
| TERM: unknown | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| format: | |
| name: format | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: ${{ env.toolchain }} | |
| components: rustfmt | |
| - name: cargo format | |
| run: cargo fmt --all -- --check | |
| clippy: | |
| name: clippy | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: ${{ env.toolchain }} | |
| components: clippy | |
| - name: Clippy | |
| run: | | |
| cargo clippy \ | |
| --all-targets \ | |
| -- -D warnings \ | |
| -W clippy::pedantic \ | |
| -W clippy::nursery \ | |
| -W clippy::style \ | |
| -W clippy::complexity \ | |
| -W clippy::perf \ | |
| -W clippy::suspicious \ | |
| -W clippy::correctness | |
| toml-format: | |
| name: toml-format | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Taplo | |
| env: | |
| version: "0.9.3" | |
| run: | | |
| curl -Ls "https://github.com/tamasfe/taplo/releases/download/${{ env.version }}/taplo-full-linux-x86_64.gz" | \ | |
| gzip -d > taplo && \ | |
| chmod +x taplo && \ | |
| sudo mv taplo /usr/local/bin/taplo | |
| - name: Run Taplo | |
| run: taplo fmt --check | |
| test: | |
| name: test | |
| runs-on: ubuntu-22.04 | |
| services: | |
| postgres: | |
| image: postgres:17 | |
| env: | |
| POSTGRES_DB: atoma | |
| POSTGRES_USER: atoma | |
| POSTGRES_PASSWORD: atoma | |
| ports: | |
| - 5432:5432 | |
| options: >- | |
| --health-cmd pg_isready | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: ${{ env.toolchain }} | |
| - name: Cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/bin/ | |
| ~/.cargo/registry/index/ | |
| ~/.cargo/registry/cache/ | |
| ~/.cargo/git/db | |
| target/ | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
| - name: Unit tests | |
| run: cargo test |