Skip to content

test

test #25

Workflow file for this run

name: CI
on:
push:
pull_request:
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: -D warnings
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
components: rustfmt, clippy
- name: Lint
run: |
cargo fmt -- --check
cargo clippy --all-targets
- name: Build Documentation
run: cargo doc --no-deps
- name: Run tests
run: cargo test
minimum-supported-rust-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
# Dependencies may require Rust 2021.
toolchain: 1.56.0
override: true
- run: cargo check