Skip to content

Commit

Permalink
add shank
Browse files Browse the repository at this point in the history
  • Loading branch information
jasl committed Oct 4, 2024
1 parent d992507 commit efab93a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ inputs:
solana:
description: Install Solana if `true`. Defaults to `false`.
required: false
shank:
description: Install Shank if `true`. Defaults to `false`.
required: false

runs:
using: 'composite'
Expand Down Expand Up @@ -60,6 +63,11 @@ runs:
with:
version: ${{ env.SOLANA_VERSION }}
cache: true
- name: Install Shank
if: ${{ inputs.shank == 'true' }}
uses: baptiste0928/cargo-install@v3
with:
crate: shank-cli

- name: Cache Cargo Dependencies
if: ${{ inputs.cargo-cache-key && !inputs.cargo-cache-fallback-key }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ jobs:
with:
cargo-cache-key: cargo-programs
cargo-cache-local-key: cargo-local
shank: true

- name: Generate IDLs
run: pnpm generate:idls
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repository = "https://github.com/dephy-io/dephy-id"
license = "Apache-2.0"

[workspace.metadata.cli]
solana = "2.0.13"
solana = "1.18.25"

# Specify Rust toolchains for rustfmt, clippy, and build.
# Any unprovided toolchains default to stable.
Expand Down

0 comments on commit efab93a

Please sign in to comment.