Skip to content

Valico does not use chrono's clock and std features #19

Valico does not use chrono's clock and std features

Valico does not use chrono's clock and std features #19

Workflow file for this run

name: Rust
on: [push, pull_request]
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Build
run: cargo build --verbose
- name: Build WebAssembly
run: |
rustup target add wasm32-unknown-unknown
cargo build --verbose --target wasm32-unknown-unknown --features js
- name: Run tests
run: cargo test --verbose
docs:
name: docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check docs
env:
RUSTDOCFLAGS: -D warnings
run: cargo doc --no-deps --document-private-items --workspace
rustfmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check formatting
run: cargo fmt --all -- --check
clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check clippy lints
run: cargo clippy --all --tests --workspace -- -D warnings