Skip to content

Commit

Permalink
fix ci?
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverNChalk committed Aug 25, 2024
1 parent 1b7156f commit 529ce10
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/actions/solana-toolchain/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: solana-toolchain

runs:
using: "composite"
steps:
- id: get-version
shell: bash
run: |
SOLANA_VERSION=$(cat solana-toolchain)
echo "solana-version=$SOLANA_VERSION" >> $GITHUB_OUTPUT
- uses: metaplex-foundation/actions/install-solana@v1
with:
cache: true
version: ${{ steps.get-version.outputs.solana-version }}

2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
with:
submodules: recursive
- uses: ./.github/workflows/actions/rust-toolchain
- uses: ./.github/workflows/actions/solana-toolchain
- run: ./scripts/build_sbf.sh
- run: cargo test --all-features

fmt:
Expand Down
1 change: 1 addition & 0 deletions solana-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.18.15

0 comments on commit 529ce10

Please sign in to comment.