Skip to content

Refactore StateResults and remove EmptyError #67

Refactore StateResults and remove EmptyError

Refactore StateResults and remove EmptyError #67

Workflow file for this run

on:
push:
branches:
- master
- develop
pull_request:
name: Lints
jobs:
lint:
name: Lint
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
rust:
- stable
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt, clippy
- name: Format
run: cargo fmt --check
- name: Clippy
run: cargo clippy -- -D warnings
- name: Clippy tests
run: cargo clippy --tests -- -D warnings