Skip to content

fix(deps): update all non-major depedencies #11

fix(deps): update all non-major depedencies

fix(deps): update all non-major depedencies #11

Workflow file for this run

name: CI-RS
on:
push:
paths:
- "**/lkgpt/**"
- "**/Cargo.lock"
- "**/Cargo.toml"
- "**/rust-toolchain"
- "**/.taplo.toml"
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
# Cancel old builds on new commit for same workflow + branch/PR
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
ci-rs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust-toolchain:
- nightly-2023-09-20
steps:
- name: Get source code
uses: actions/checkout@v3
- name: Setup ${{ matrix.rust-toolchain }} rust toolchain with caching
uses: brndnmtthws/rust-action@v1
with:
toolchain: ${{ matrix.rust-toolchain }}
components: rustfmt, clippy, cargo-bloat
enable-sccache: "true"
cargo-packages: "cargo-bloat"
- name: Install binaries
run: sudo apt-get update && sudo apt-get install -y clang pkg-config libavfilter-dev libavdevice-dev libavcodec-dev libavformat-dev libavutil-dev
- name: Build
run: cargo build --release # --verbose
- name: Test
run: cargo test --release # --verbose
- name: Lint
run: cargo fmt --all -- --check
# && cargo clippy --verbose -- -D warnings
- name: Bloat Check
uses: cs50victor/cargo-bloat-action@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
kv_token: ${{ secrets.KV_TOKEN }}
included_packages: "lkgpt"