Skip to content

fix(deps): update rust crate serde_json to v1.0.133 #1963

fix(deps): update rust crate serde_json to v1.0.133

fix(deps): update rust crate serde_json to v1.0.133 #1963

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@11bd71901bbe5b1630ceea73d27597364c9af683 # 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: Run integration tests
if: github.ref == 'refs/heads/mater'
run: cargo test -- --ignored --nocapture test_binary
- 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