Skip to content

Update cargo docs, update crate to version 0.3.0 for publishing (#20) #82

Update cargo docs, update crate to version 0.3.0 for publishing (#20)

Update cargo docs, update crate to version 0.3.0 for publishing (#20) #82

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: version info
run: rustc --version; cargo --version;
- name: Run all tests
run: cargo test
tests-prefetching:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- name: version info
run: rustc --version; cargo --version;
- name: Run all tests
run: cargo test --all-features
fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings