Bump pyo3 from 0.22.2 to 0.22.4 #509
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |