Skip to content

Merge pull request #1 from tvl-labs/feat/rust-api #21

Merge pull request #1 from tvl-labs/feat/rust-api

Merge pull request #1 from tvl-labs/feat/rust-api #21

Workflow file for this run

name: RockdDB CI
on: [push, pull_request]
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions-rs/toolchain@v1
with:
profile: minimal
components: rustfmt, clippy
toolchain: 1.75.0
- name: Install liburing
run: sudo apt-get install liburing2 liburing-dev clang
- name: Cargo fmt
run: cargo fmt --all --check
- name: Cargo clippy
run: cargo clippy --all --all-features --all-targets
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.75.0
- name: Install liburing
run: sudo apt-get install liburing2 liburing-dev clang libsnappy-dev
- name: Cargo test
run: cargo test --all --all-features
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}