Skip to content

fix: replace 15 unwrap() calls with poison-safe alternatives #20

fix: replace 15 unwrap() calls with poison-safe alternatives

fix: replace 15 unwrap() calls with poison-safe alternatives #20

Workflow file for this run

name: Holodeck Rust CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build --release
- name: Run tests
run: cargo test
- name: Check formatting
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy -- -W warnings