Skip to content

Commit 1b46a93

Browse files
authored
chore(lazer): add locked to anchor install in CI (#2502)
1 parent eeec929 commit 1b46a93

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci-lazer-solana-contract.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
- name: Create Solana key
4444
run: solana-keygen new --no-bip39-passphrase
4545
- name: Install Anchor
46-
run: RUSTFLAGS= cargo install --git https://github.com/coral-xyz/anchor --tag v0.30.1 anchor-cli
46+
run: |
47+
rustup install 1.79.0
48+
RUSTFLAGS= cargo +1.79.0 install --git https://github.com/coral-xyz/anchor --tag v0.30.1 --locked anchor-cli
4749
- name: Run anchor tests
4850
run: pnpm run test:anchor

0 commit comments

Comments
 (0)