Skip to content

Update dependencies and refactor RNG usage to StdRng (#10) #15

Update dependencies and refactor RNG usage to StdRng (#10)

Update dependencies and refactor RNG usage to StdRng (#10) #15

Workflow file for this run

name: Rust CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
ci:
name: Rust CI
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Setup Cache
uses: Swatinem/rust-cache@v2
- name: Check
run: cargo fmt --all -- --check
- name: Lint
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Build
run: cargo build --workspace --all-targets --all-features --release
- name: Test
env:
RUST_BACKTRACE: 1
run: cargo test --workspace --all-features --all-targets -- --nocapture