Fix/remove bin array init on create #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lb Clmm Cli | |
on: | |
pull_request: | |
branches: | |
- main | |
env: | |
SOLANA_CLI_VERSION: 1.16.1 | |
NODE_VERSION: 18.14.2 | |
ANCHOR_CLI_VERSION: 0.28.0 | |
jobs: | |
market_making_changed_files: | |
runs-on: ubuntu-latest | |
outputs: | |
market_making: ${{steps.changed-files-specific.outputs.any_changed}} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Get specific changed files | |
id: changed-files-specific | |
uses: tj-actions/[email protected] | |
with: | |
files: | | |
market_making | |
market_making_build: | |
runs-on: ubuntu-latest | |
needs: market_making_changed_files | |
if: needs.market_making_changed_files.outputs.market_making == 'true' | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ./.github/actions/setup-solana | |
- uses: ./.github/actions/setup-dep | |
- uses: ./.github/actions/setup-anchor | |
# Install rust + toolchain | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: clippy | |
# Cache rust, cargo | |
- uses: Swatinem/rust-cache@v1 | |
- run: cargo build -p market_making | |
shell: bash |