Skip to content

Bump serde_yaml from 0.9.21 to 0.9.22 #407

Bump serde_yaml from 0.9.21 to 0.9.22

Bump serde_yaml from 0.9.21 to 0.9.22 #407

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