Skip to content

Reduce build dependencies #24

Reduce build dependencies

Reduce build dependencies #24

Workflow file for this run

on: [push, pull_request]
name: Continuous integration
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
- name: Check
run: cargo check
- name: Format
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy -- -D warnings
- name: Clippy Examples
run: cargo clippy --examples -- -D warnings
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Test
run: cargo test --all-features
- name: Test Examples
run: cargo test --examples
readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install `cargo-sync-readme`
uses: actions-rs/[email protected]
with:
crate: cargo-sync-readme
version: latest
- name: Is readme in sync?
run: cargo sync-readme -c