Skip to content

feat(lazer): add solana contract migration script, add message parsin… #57

feat(lazer): add solana contract migration script, add message parsin…

feat(lazer): add solana contract migration script, add message parsin… #57

Workflow file for this run

name: "Lazer Rust Test Suite"
on:
push:
branches:
- main
paths:
- lazer/**
pull_request:
paths:
- lazer/**
jobs:
lazer-rust-test-suite:
name: Lazer Rust Test Suite
runs-on: ubuntu-22.04
defaults:
run:
working-directory: lazer
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.81.0
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: install extra tools
run: |
cargo install --locked [email protected]
sudo apt-get install -y protobuf-compiler
- name: Install Solana Cli
run: |
sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"
echo "$HOME/.local/share/solana/install/active_release/bin" >> "$GITHUB_PATH"
- name: check Cargo.toml formatting
run: find . -name Cargo.toml -exec taplo fmt --check --diff {} \;
- name: Build Solana programs
run: cargo build-sbf
- name: test
run: cargo test