Skip to content

Merge pull request #112 from sl-sh-dev/test-rust-docs-in-rust #393

Merge pull request #112 from sl-sh-dev/test-rust-docs-in-rust

Merge pull request #112 from sl-sh-dev/test-rust-docs-in-rust #393

Workflow file for this run

name: Rust
on:
push:
pull_request:
env:
RUSTFLAGS: -Dwarnings
CARGO_TERM_COLOR: always
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Format
run: cargo fmt --verbose -- --check
- name: Clippy
run: cargo clippy --verbose -- -D warnings
- name: Build
run: |
cargo version
rustc --version
cargo build --workspace --verbose
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: |
cargo version
rustc --version
cargo build --workspace --verbose