Skip to content

feat(ci): add solita step? #6

feat(ci): add solita step?

feat(ci): add solita step? #6

Workflow file for this run

name: program-build
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: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install Solana
run: |
sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
- name: Build Program
run: cargo build --verbose
- name: Run Clippy
run: cargo clippy
- name: Run Solita
run: |
cd sdk
yarn solita