Skip to content

chore(deps): update rust crate reqwest to v0.12.6 #1597

chore(deps): update rust crate reqwest to v0.12.6

chore(deps): update rust crate reqwest to v0.12.6 #1597

Workflow file for this run

name: Build
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: Swatinem/rust-cache@v2
- name: Check formatting
run: |
rustfmt --version
cargo fmt --all -- --check
- name: Check compilation
run: |
rustc --version
cargo check --all --features transcoding-cache,tags-encoding
- name: Clippy check
run: cargo clippy --all --features transcoding-cache,tags-encoding
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y openssl libssl-dev pkg-config ffmpeg yasm build-essential wget libbz2-dev zlib1g-dev libavformat-dev
- name: Run unit tests
run: cargo test --all --features transcoding-cache,tags-encoding
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --all --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
files: lcov.info
fail_ci_if_error: true