From b50c1409beae9ce8ebd97adee31bc5f60da12e15 Mon Sep 17 00:00:00 2001 From: Ayush Date: Sat, 4 May 2024 18:29:24 +0530 Subject: [PATCH] test setup-anchor with setup-solana --- .github/workflows/anchor.yml | 6 +++--- basics/hello-solana/native/tests/test.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/anchor.yml b/.github/workflows/anchor.yml index 26aad93e..10afdbbe 100644 --- a/.github/workflows/anchor.yml +++ b/.github/workflows/anchor.yml @@ -18,7 +18,7 @@ jobs: matrix: node-version: [20.x] solana-version: [stable, 1.17.25] - anchor-version: [latest, 0.30.0] + anchor-version: [0.29.0] steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} @@ -86,11 +86,11 @@ jobs: matrix: node-version: [20.x] solana-version: [1.18.4, stable] - anchor-version: [0.30.0, latest] + anchor-version: [0.29.0] steps: - uses: actions/checkout@v4 - name: Setup Anchor - uses: metadaoproject/setup-anchor@v2.1 + uses: heyAyushh/setup-anchor@v2.2 with: anchor-version: ${{ matrix.anchor-version }} solana-cli-version: ${{ matrix.solana-version }} diff --git a/basics/hello-solana/native/tests/test.ts b/basics/hello-solana/native/tests/test.ts index 9534db37..8a1bba27 100644 --- a/basics/hello-solana/native/tests/test.ts +++ b/basics/hello-solana/native/tests/test.ts @@ -24,7 +24,7 @@ describe('hello-solana', async () => { const tx = new Transaction(); tx.recentBlockhash = blockhash; - tx.add(ix).sign(payer); // Add instruction and Sign the transaction + tx.add(ix).sign(payer); // Now we process the transaction await client.processTransaction(tx);