Skip to content

Bump rayon from 1.8.1 to 1.9.0 #493

Bump rayon from 1.8.1 to 1.9.0

Bump rayon from 1.8.1 to 1.9.0 #493

Workflow file for this run

name: rust-build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
defaults:
run:
working-directory: ./rust
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
$HOME/.cargo/bin/rustup default stable
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Check format
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy
unit_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
$HOME/.cargo/bin/rustup default stable
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Run unit tests
run: cargo test
- name: Run Rust coverage
run: |
cargo install cargo-tarpaulin
cargo tarpaulin -v