Skip to content

Commit

Permalink
Update .github/workflows/tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
s-damian committed Aug 17, 2024
1 parent 000b7c4 commit 77afa33
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,20 @@ jobs:
echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
solana --version || echo "Solana version not found"
- name: Generate Solana Keypair
run: |
mkdir -p ~/.config/solana
solana-keygen new --outfile ~/.config/solana/id.json --no-bip39-passphrase --force
solana config set --keypair ~/.config/solana/id.json
#- name: Set solana target cluster to local
# run: solana config set --url http:localhost:8899

- name: Install Anchor
run: |
cargo install --git https://github.com/coral-xyz/anchor anchor-cli --tag v0.30.1 || echo "Anchor installation failed"
anchor --version || echo "Anchor version not found"
- name: Generate Solana Keypair
run: |
solana-keygen new --outfile ~/.config/solana/id.json --force
solana config set --keypair ~/.config/solana/id.json
- name: Debug Project Structure
run: |
echo "Current directory: $(pwd)"
Expand All @@ -56,8 +60,6 @@ jobs:
run: |
echo "Current directory: $(pwd)"
ls -la
echo "Anchor.toml content:"
cat Anchor.toml || echo "Anchor.toml not found"
echo "PATH: $PATH"
echo "Rust version: $(rustc --version)"
echo "Cargo version: $(cargo --version)"
Expand Down

0 comments on commit 77afa33

Please sign in to comment.