Skip to content

Commit

Permalink
Add workaround for solana-labs/solana#32503
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemaccana committed Jun 3, 2024
1 parent a740ea0 commit 1bc4dbf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,14 @@ jobs:
rm /home/runner/.cargo/bin/rust-analyzer /home/runner/.cargo/bin/rustfmt /home/runner/.cargo/bin/cargo-fmt
rustup update
# TODO: remove fix for semver issue once
# https://github.com/solana-labs/solana/issues/32503 is resolved
- name: Test the ${{ matrix.project }} project builds and tests pass
run: |
echo "----------------------------------------"
echo "Fixing solana-program crate not using semver issue..."
sed -i 's/ctx/_context/' programs/project/src/lib.rs
cargo add solana-program@"=1.18.5"
cd labs/${{ matrix.project }}
echo "----------------------------------------"
echo "Creating a keypair..."
Expand Down

0 comments on commit 1bc4dbf

Please sign in to comment.