This repository was archived by the owner on Nov 14, 2025. It is now read-only.
Bump reqwest from 0.11.27 to 0.12.15 #42
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 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install latest stable Rust | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| override: true | |
| components: rustfmt, clippy | |
| - name: Build | |
| run: cargo build --verbose | |
| - name: Install tarpaulin | |
| run: cargo install cargo-tarpaulin | |
| - name: Run tests | |
| run: cargo tarpaulin --verbose --all-features --workspace --timeout 120 --out Lcov | |
| - name: Report test coverage to DeepSource | |
| uses: deepsourcelabs/test-coverage-action@master | |
| with: | |
| key: rust | |
| coverage-file: lcov.info | |
| dsn: ${{ secrets.DEEPSOURCE_DSN }} | |
| - name: Clippy | |
| run: cargo clippy -- -D warnings | |
| - name: Format check | |
| run: cargo fmt -- --check | |
| test: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| rust: [stable, beta] | |
| include: | |
| - os: ubuntu-latest | |
| rust: nightly | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Rust toolchain | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: ${{ matrix.rust }} | |
| override: true | |
| - name: Run tests | |
| run: cargo test --verbose |