Skip to content

test; split stage test into multiple snapshots #23

test; split stage test into multiple snapshots

test; split stage test into multiple snapshots #23

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:
- uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v4.0.0
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build --verbose
- name: Run tests
run: |
git config --global init.defaultBranch master
cargo test --verbose
- name: Lint
run: cargo clippy
- name: Check format
run: cargo fmt --check
- name: Bench
run: cargo bench