Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,18 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
rustflags: '-A warnings'
- name: Set up Solana CLI
run: |
SOLANA_VERSION="$(cargo metadata --no-deps --format-version 1 | jq -r '.metadata.cli.solana')"
test -n "$SOLANA_VERSION" && test "$SOLANA_VERSION" != "null"
sh -c "$(curl -sSfL https://release.anza.xyz/v${SOLANA_VERSION}/install)"
echo "$HOME/.local/share/solana/install/active_release/bin" >> "$GITHUB_PATH"
export PATH="$HOME/.local/share/solana/install/active_release/bin:$PATH"
solana --version
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Build order-engine SBF
run: cargo build-sbf --manifest-path programs/order-engine/Cargo.toml
- name: Run tests with coverage
run: |
RPC_URLS=${{ secrets.RPC_URLS }} cargo llvm-cov --release --workspace --summary-only --remap-path-prefix --json > coverage.json
Expand Down
6 changes: 3 additions & 3 deletions Anchor.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[toolchain]
solana_version = "2.0.19"
anchor_version = "0.30.1-4cdb0ebe8f613f7dbbd5c4b00571139b2517898f"
solana_version = "4.0.1"
anchor_version = "1.1.2"

[features]
seeds = false
Expand All @@ -11,4 +11,4 @@ url = "https://api.apr.dev"

[provider]
cluster = "mainnet"
wallet = "~/.config/solana/id.json"
wallet = "~/.config/solana/id.json"
Loading