Skip to content

Fix default snapshot path #17

Fix default snapshot path

Fix default snapshot path #17

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Snapshot runtime
run: cargo run --release --bin snapshot
- name: Build
run: cargo build --release --verbose --all --examples
- name: Run tests
run: cargo test --verbose