Przeglądaj źródła

Update main.yml

Loris Leiva 1 rok temu
rodzic
commit
3790b95c22
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      .github/workflows/main.yml

+ 5 - 0
.github/workflows/main.yml

@@ -7,6 +7,7 @@ on:
     branches: [main]
 
 env:
+  ANCHOR_VERSION: 0.30.0
   SOLANA_VERSION: 1.18.12
 
 jobs:
@@ -109,6 +110,10 @@ jobs:
         uses: metaplex-foundation/actions/install-solana@v1
         with:
           version: ${{ env.SOLANA_VERSION }}
+      - name: Install Anchor
+        uses: metaplex-foundation/actions/install-anchor-cli@v1
+        with:
+          version: ${{ env.ANCHOR_VERSION }}
       - name: Pre-scaffold projects for caching purposes
         run: pnpm snapshot --scaffold-only
       - name: Cache cargo crates