Skip to content

Commit

Permalink
Validating solana installation
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpar committed Jul 25, 2023
1 parent b39d8ec commit b0a3be6
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/cross-chain-solana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ jobs:
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

- name: Install Solana
run: sh -c "$(curl -sSfL https://release.solana.com/v1.16.5/install)"
run: |
sh -c "$(curl -sSfL https://release.solana.com/v1.16.5/install)"
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
- name: Install Anchor
run: |
Expand All @@ -66,10 +68,14 @@ jobs:
run: yarn install

- name: Build contracts
run: yarn build
run: |
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
yarn build
- name: Run tests
run: yarn test
run: |
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
yarn test
contracts-format:
needs: contracts-detect-changes
Expand Down

0 comments on commit b0a3be6

Please sign in to comment.