Skip to content

[feat] Bucket layer for sync #317

[feat] Bucket layer for sync

[feat] Bucket layer for sync #317

Workflow file for this run

name: CI
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
CARGO_PROFILE_DEV_DEBUG: 0
CARGO_PROFILE_TEST_DEBUG: 0
RUSTFLAGS: -C debuginfo=0
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install mold linker
run: sudo apt-get update && sudo apt-get install -y clang mold
- name: Install stable Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache Rust build artifacts
uses: Swatinem/rust-cache@v2
- name: Run workspace tests
run: cargo test --workspace --all-targets
fmt:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install nightly rustfmt
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: Check formatting
run: cargo +nightly fmt --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install mold linker
run: sudo apt-get update && sudo apt-get install -y clang mold
- name: Install nightly clippy
uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
- name: Cache Rust build artifacts
uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo +nightly clippy --workspace --all-targets -- -D warnings