Skip to content

update deps

update deps #41

Workflow file for this run

name: Push
on: [push]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install toolchain
id: toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: clippy, rustfmt
- name: Install protoc
uses: arduino/setup-protoc@v1
- name: Set up cache
uses: actions/cache@v3
with:
path: |
~/.cargo/
target/
key: cargo-${{ runner.os }}-${{ steps.toolchain.outputs.rustc_hash }}-${{ hashFiles('**/Cargo.toml') }}
restore-keys: |
cargo-${{ runner.os }}-${{ steps.toolchain.outputs.rustc_hash }}-
- name: cargo fmt
run: cargo fmt --all -- --check
shell: bash
- name: cargo clippy
run: cargo clippy -- -D clippy::all
shell: bash
- name: cargo build
run: cargo build
shell: bash
- name: cargo test
env:
_RJEM_MALLOC_CONF: prof:true,prof_active:false,lg_prof_sample:10
run: cargo test -- --nocapture --include-ignored
shell: bash