Skip to content

Change presenters to formatters and output to std instead of writing … #44

Change presenters to formatters and output to std instead of writing …

Change presenters to formatters and output to std instead of writing … #44

Workflow file for this run

name: CI
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
env:
CARGO_TERM_COLOR: always
jobs:
LinuxLatest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: Swatinem/rust-cache@v1
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run Rustfmt
run: cargo fmt --all -- --check
- name: Run Clippy
run: cargo clippy --all-features -- -D warnings
WindowsLatest:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: Swatinem/rust-cache@v1
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run Rustfmt
run: cargo fmt --all -- --check
- name: Run Clippy
run: cargo clippy --all-features -- -D warnings
MacOsLatest:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: Swatinem/rust-cache@v1
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run Rustfmt
run: cargo fmt --all -- --check
- name: Run Clippy
run: cargo clippy --all-features -- -D warnings