Skip to content

Commit

Permalink
👷 Ignore error on cargo add single crates
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielePicco committed Apr 23, 2024
1 parent 16e58ac commit 446378e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:

env:
solana_version: v1.18.8
solana_version: v1.18.9

jobs:
install:
Expand Down Expand Up @@ -166,9 +166,10 @@ jobs:
cargo install --path cli --force --locked
bolt init test-project --force
cd test-project
cargo add --package test-project --path "../crates/bolt-lang" # Overrides the version with the local version
cargo add --package movement --path "../crates/bolt-lang" # -
cargo add --package position --path "../crates/bolt-lang" # -
cargo add --package test-project --path "../crates/bolt-lang" || true # Overrides the version with the local version
cargo add --package movement --path "../crates/bolt-lang" || true # -
cargo add --package position --path "../crates/bolt-lang" || true # -
cargo update
yarn add file:../clients/bolt-sdk/ -D # Overrides the bolt ts SDK with the local version
bolt build
bolt test

0 comments on commit 446378e

Please sign in to comment.