Skip to content

Commit 76f549c

Browse files
committed
chore: CI updates
1 parent f365420 commit 76f549c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/setup/action.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,17 @@ runs:
4141
~/.cargo/bin/anchor
4242
key: solana-cli-${{ inputs.solana-version }}
4343

44-
- name: Install Anchor CLI
44+
- name: Install Solana CLI
4545
run: |
4646
mkdir -p ~/.local/share/solana
47-
curl --proto '=https' --tlsv1.2 -sSfL https://solana-install.solana.workers.dev | bash
47+
sh -c "$(curl -sSfL https://release.anza.xyz/${{ inputs.solana-version }}/install)"
4848
echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
4949
shell: bash
5050

5151
- name: Install Anchor CLI
5252
shell: bash
53-
if: steps.cache-anchor-cli.outputs.cache-hit != 'true' && inputs.anchor_version != ''
5453
run: |
55-
cargo install --git https://github.com/coral-xyz/anchor --tag "v${{ inputs.anchor_version }}" anchor-cli --force
54+
cargo install anchor-cli@${{ inputs.anchor-version }} --locked --force
5655
anchor --version
5756
5857
- name: Cache node_modules
@@ -68,12 +67,10 @@ runs:
6867
- name: Build test programs
6968
run: |
7069
make build-test-earn-programs
71-
make build-test-swap-program
7270
shell: bash
7371

7472
- name: Build programs
7573
run: |
7674
anchor build -p earn
77-
anchor build -p ext_earn
7875
anchor build -p portal --no-idl
7976
shell: bash

0 commit comments

Comments
 (0)