From 2fa1622d20acd17e540420bd4c3cd5490ba24970 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Tue, 25 Jul 2023 13:23:11 +0200 Subject: [PATCH] Installing Rust for Solana workflow --- .github/workflows/cross-chain-solana.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cross-chain-solana.yml b/.github/workflows/cross-chain-solana.yml index d171173b8..2b38d928d 100644 --- a/.github/workflows/cross-chain-solana.yml +++ b/.github/workflows/cross-chain-solana.yml @@ -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 @@ -94,8 +99,5 @@ jobs: - name: Install dependencies run: yarn install - - name: Build - run: yarn build - - name: Check formatting run: yarn format