Skip to content

More resilient conversions from strings #14

More resilient conversions from strings

More resilient conversions from strings #14

Workflow file for this run

name: Rust Tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_call:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Check
run: cargo check --verbose --features poker
- name: Run tests
run: cargo test --verbose --features poker
- name: Format
run: cargo fmt --all -- --check --verbose
- name: Clippy
run: cargo clippy -- -D warnings --verbose