Skip to content

Commit

Permalink
feat: custom command
Browse files Browse the repository at this point in the history
  • Loading branch information
sol-matcha committed Sep 11, 2023
1 parent 988d6d7 commit 5ab992c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions action.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Reference: https://github.com/mrgnlabs/anchor-test-action/blob/main/action.yaml
name: "Run Anchor Test for Solana Programs"
name: "Solana Anchor Dev Env"
author: "Seabed Labs"
description: "Run anchor tests"
description: "Run anything inside a solana dev env with anchor"
branding:
icon: anchor
color: blue
inputs:
args:
description: "anchor test arguments"
required: false
default: ""
command:
description: "any command that works in your repo"
required: true
default: "anchor test"
workspace_dir:
description: "anchor workspace directory"
description: "workspace directory"
required: false
default: "."
runs:
Expand All @@ -22,4 +22,4 @@ runs:
- "cd ${{ inputs.workspace_dir }}"
- "yarn install"
- "solana-keygen new --no-bip39-passphrase"
- "anchor test ${{ inputs.args }}"
- "${{ inputs.command }}"

0 comments on commit 5ab992c

Please sign in to comment.