Skip to content

Version 0.3.0

Version 0.3.0 #41

Workflow file for this run

name: Rust Build
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
- name: Cargo Test
run: cargo test --all-features --workspace -- --nocapture
env:
REDIS_HOST: localhost
REDIS_PORT: 6379
- name: Cargo Format Check
run: cargo fmt -- --check
- name: Cargo Clippy Check
run: cargo clippy --all-features --workspace -- -D warnings
- name: Cargo Sort Check
run: cargo install cargo-sort --debug && cargo-sort --check --workspace