Skip to content

Panic when attempting to add/drop a DieRoll that already has been add… #24

Panic when attempting to add/drop a DieRoll that already has been add…

Panic when attempting to add/drop a DieRoll that already has been add… #24

Workflow file for this run

name: Test
on:
push:
env:
CARGO_TERM_COLOR: always
jobs:
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Setup Cargo dependency cache
uses: Swatinem/rust-cache@v2
with:
shared-key: shared
- name: Run Clippy
run: cargo clippy
env:
RUSTFLAGS: -Dwarnings
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Setup Cargo dependency cache
uses: Swatinem/rust-cache@v2
with:
shared-key: shared
- name: Run tests
run: cargo test --verbose
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Setup Cargo dependency cache
uses: Swatinem/rust-cache@v2
with:
shared-key: shared
- name: Build project
run: cargo build --verbose