Skip to content

Fix tests

Fix tests #37

Workflow file for this run

name: Check + Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Setup nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- name: Check
uses: actions-rs/cargo@v1
with:
command: check
args: --release
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --release