Skip to content

Bump thiserror from 1.0.49 to 1.0.50 (#129) #461

Bump thiserror from 1.0.49 to 1.0.50 (#129)

Bump thiserror from 1.0.49 to 1.0.50 (#129) #461

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