Skip to content

Removing libsodium ready. #98

Removing libsodium ready.

Removing libsodium ready. #98

Workflow file for this run

name: Pull Request
on:
push:
pull_request:
jobs:
test-typescript:
name: Test TypeScript
timeout-minutes: 5
strategy:
matrix:
os: [ubuntu-24.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"
- run: npm ci
- run: npm run build
- run: npm run lint
- run: npm run test
test-rust:
name: Test Rust
timeout-minutes: 5
strategy:
matrix:
os: [ubuntu-24.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Set rust toolchain
run: rustup override set 1.87 && rustup component add clippy rustfmt && rustup target add wasm32-unknown-unknown
- run: cargo fetch
- run: cargo build --all --verbose --exclude plexi-cli --all-features --tests
- run: cargo build --all --verbose --exclude plexi-cli --all-features --tests --target wasm32-unknown-unknown
- run: cargo check --tests --examples --benches --all-features
- run: cargo clippy --all-features --all-targets -- -D warnings
- run: cargo fmt --all -- --check
- run: cargo doc --all --exclude plexi-cli --all-features --document-private-items
- run: cargo test --all --verbose --exclude plexi-cli --all-features