Skip to content

Merge pull request #110 from DeepLink-org/feature/cmd_sync #276

Merge pull request #110 from DeepLink-org/feature/cmd_sync

Merge pull request #110 from DeepLink-org/feature/cmd_sync #276

Workflow file for this run

name: dlcapt
on:
push:
paths:
- "crates/persisting-dlcapt/**"
- "Cargo.toml"
- "Cargo.lock"
- ".github/workflows/dlcapt.yml"
pull_request:
paths:
- "crates/persisting-dlcapt/**"
- "Cargo.toml"
- "Cargo.lock"
- ".github/workflows/dlcapt.yml"
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: fmt
run: cargo fmt --check
- name: check
run: cargo check -p persisting-dlcapt --all-targets --all-features --locked
- name: test
run: cargo test -p persisting-dlcapt --all-targets --all-features --locked
- name: clippy
run: cargo clippy -p persisting-dlcapt --all-targets --all-features --locked -- -D warnings
- name: doc
run: RUSTDOCFLAGS="-D warnings" cargo doc -p persisting-dlcapt --all-features --no-deps --locked
- name: build standalone dlcapt
run: cargo build -p persisting-dlcapt --locked