Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Upgrade anchor_lang to 0.30.0 #45

Merged
merged 12 commits into from
Apr 23, 2024
Merged
3 changes: 1 addition & 2 deletions .github/workflows/publish-bolt-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ on:
workflow_dispatch:

env:
solana_version: v1.18.1
anchor_version: 0.29.0
solana_version: v1.18.8

jobs:
install:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish-bolt-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ on:
workflow_dispatch:

env:
solana_version: v1.18.1
anchor_version: 0.29.0
solana_version: v1.18.8

jobs:
install:
Expand Down
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 @@ -161,14 +161,15 @@ jobs:

- name: Install the Bolt CLI and create & build a new project
shell: bash
if: ${{ !startsWith(github.ref, 'refs/heads/release/v') && !startsWith(github.head_ref, 'release/v') }}
run: |
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
cargo install --path cli --force --locked
bolt init test-project --force
cd test-project
cargo add --package position --path "../crates/bolt-lang" # Overrides the version with the local version
cargo add --package movement --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
Loading
Loading