Skip to content

Commit

Permalink
Anchor 0.29 and Solana 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
ebatsell committed Dec 31, 2023
1 parent 308a09e commit 5459fc7
Show file tree
Hide file tree
Showing 9 changed files with 157 additions and 172 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
~/.cargo/git/db/
./mev-programs/target/
key: cargo-${{ runner.os }}-anchor-${{ hashFiles('**/Cargo.lock') }}
- run: cargo install --git https://github.com/coral-xyz/anchor --tag v0.28.0 anchor-cli --locked --force
- run: cargo install --git https://github.com/coral-xyz/anchor --tag v0.29.0 anchor-cli --locked --force
- name: Install yarn dependencies
working-directory: ./mev-programs
run: yarn
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Release
on:
push:
tags:
- 'v*'
- "v*"

env:
SOLANA_CLI_VERSION: 1.16.17
SOLANA_CLI_VERSION: 1.17.6
jobs:
release:
name: Create the jito programs release
Expand All @@ -27,7 +27,7 @@ jobs:
~/.cargo/git/db/
./mev-programs/target/
key: cargo-${{ runner.os }}-anchor-${{ hashFiles('**/Cargo.lock') }}
- run: cargo install --git https://github.com/coral-xyz/anchor --tag v0.28.0 anchor-cli --locked --force
- run: cargo install --git https://github.com/coral-xyz/anchor --tag v0.29.0 anchor-cli --locked --force
- name: Install yarn dependencies
working-directory: ./mev-programs
run: yarn
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ RUN set -x \
zlib1g-dev \
curl

RUN sh -c "$(curl -sSfL https://release.solana.com/v1.16.17/install)"
RUN sh -c "$(curl -sSfL https://release.solana.com/v1.17.6/install)"

ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH"

RUN cargo install --git https://github.com/coral-xyz/anchor --tag v0.28.0 anchor-cli --locked
RUN cargo install --git https://github.com/coral-xyz/anchor --tag v0.29.0 anchor-cli --locked

WORKDIR /jito-programs
COPY . .
Expand Down
Loading

0 comments on commit 5459fc7

Please sign in to comment.