Skip to content

Added From<(T,T)> for Vectorlike. #22

Added From<(T,T)> for Vectorlike.

Added From<(T,T)> for Vectorlike. #22

Workflow file for this run

name: Tests
on: [push]
jobs:
audit:
runs-on: ubuntu-latest
steps:
- name: Install Rust
uses: hecrj/setup-rust-action@v1
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.cargo/.crates.toml
~/.cargo/.crates2.json
~/.cargo/bin/cargo-audit
key: cargo-audit
- name: Install cargo-audit
run: cargo -v install cargo-audit
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ matrix.branch }}
- name: Audit
run: |
cargo audit -D warnings
test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: Run clippy
run: |
cargo clippy --all-targets --all-features
- name: Run unit tests
run: |
cargo test --all-features
cargo test --examples --all-features
docs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
- name: Generate Docs
run: |
cargo doc --no-deps --all-features
- name: Deploy Docs
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
branch: gh-pages
folder: target/doc/
git-config-name: kl-botsu
git-config-email: [email protected]
target-folder: /main/
clean: true