Skip to content

perf: worker-side xor filter pre-check for miss-heavy backups #72

perf: worker-side xor filter pre-check for miss-heavy backups

perf: worker-side xor filter pre-check for miss-heavy backups #72

Workflow file for this run

name: ci-main
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-main-${{ github.ref }}
cancel-in-progress: true
jobs:
test-and-lint:
runs-on: ubuntu-latest
timeout-minutes: 60
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v4
- name: Install Linux system dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
pkg-config \
libglib2.0-dev \
libgtk-3-dev \
libxdo-dev \
libxkbcommon-dev
sudo apt-get install -y libayatana-appindicator3-dev || sudo apt-get install -y libappindicator3-dev
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt --all -- --check
- name: Lint (clippy)
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
- name: Run tests
run: cargo test --workspace