Skip to content

Oracle Push command #28

Oracle Push command

Oracle Push command #28

Workflow file for this run

name: Build and Test
on:
push:
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Build the CLI
run: cargo install --path .
- name: Initialize Miden
run: pragma-miden init
- name: Sync Miden
run: pragma-miden sync
- name: Run tests
run: cargo test --verbose