fix(deps): update rust crate serde to v1.0.210 #1668
Workflow file for this run
This file contains 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: 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 | |