Skip to content

build(deps): update RustQuant requirement from 0.0.45 to 0.0.49 #650

build(deps): update RustQuant requirement from 0.0.45 to 0.0.49

build(deps): update RustQuant requirement from 0.0.45 to 0.0.49 #650

Workflow file for this run

name: Rust
on:
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install libclang
run: sudo apt-get update && sudo apt-get install -y libclang-dev
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
# components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all --all-features -- -D warnings