feat: store key versions encrypted in fdb #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup FoundationDB | |
uses: foundationdb-rs/foundationdb-actions-install@v2.1.0 | |
with: | |
version: "7.3.27" | |
- name: Setup buf | |
uses: bufbuild/buf-setup-action@v1.40.1 | |
- name: Setup protoc | |
run: sudo apt-get install protobuf-compiler | |
- name: Generate buf | |
run: cd crates/keystore && buf generate | |
- name: Build | |
run: cargo build | |
- name: Run Keystore tests | |
run: cargo test -p keystore | |
- name: Run Valv server and integration tests | |
run: | | |
cargo run -p valv-server & | |
SERVER_PID=$! | |
sleep 1 | |
cargo test -p valv -- --nocapture | |
kill $SERVER_PID | |