Skip to content

Merge pull request #27 from chaintope/dependabot/cargo/futures-task-0… #111

Merge pull request #27 from chaintope/dependabot/cargo/futures-task-0…

Merge pull request #27 from chaintope/dependabot/cargo/futures-task-0… #111

Workflow file for this run

name: Rust
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
env:
CARGO_INCREMENTAL: 1
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up cargo cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build --release
- name: Run tests
run: cargo test --verbose