Skip to content

Commit

Permalink
Installing Rust for Solana workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpar committed Jul 25, 2023
1 parent f986a95 commit 2fa1622
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/cross-chain-solana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,17 @@ jobs:
- name: Configure git to not use unauthenticated protocol
run: git config --global url."https://".insteadOf git://

- name: Install Solana
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

- name: Install Solana
run: sh -c "$(curl -sSfL https://release.solana.com/v1.16.5/install)"

- name: Install Anchor
run: |
cargo install --git https://github.com/coral-xyz/anchor --tag v0.28.0 anchor-cli --locked
avm install latest
avm use latest
- name: Install dependencies
run: yarn install
Expand Down Expand Up @@ -94,8 +99,5 @@ jobs:
- name: Install dependencies
run: yarn install

- name: Build
run: yarn build

- name: Check formatting
run: yarn format

0 comments on commit 2fa1622

Please sign in to comment.