Skip to content

Add solana implementation #10

Add solana implementation

Add solana implementation #10

Workflow file for this run

name: Solana CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
- dev
jobs:
solana-sbf:
name: Solana Cargo SBF
runs-on: ubuntu-latest
container: backpackapp/build:v0.29.0
env:
RUSTFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v3
- name: Run `cargo fmt`
run: cargo fmt --check --all --manifest-path solana/Cargo.toml
working-directory: ./solana
- name: Run `cargo check`
run: cargo check --workspace --tests --manifest-path solana/Cargo.toml
working-directory: ./solana
- name: Run `cargo clippy`
run: cargo clippy --workspace --tests --manifest-path solana/Cargo.toml
working-directory: ./solana
- name: make build
run: make build
working-directory: ./solana
- name: cargo test-sbf
env:
RUST_BACKTRACE: "1"
run: cargo test-sbf
working-directory: ./solana
- name: make anchor-test
run: make anchor-test
working-directory: ./solana