Skip to content

ci: Initial workflow #7

ci: Initial workflow

ci: Initial workflow #7

Workflow file for this run

name: CI
on:
push:
# branches: [ main, master ]
pull_request:
# branches: [ main, master ]
jobs:
test:
name: Build & Test workspace
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo registry and target
uses: actions/cache@v6
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build (release)
run: cargo build --workspace --release --all-features --verbose
- name: Run tests
run: cargo test --workspace --all-features --verbose