Skip to content
anchor

GitHub Action

Solana Anchor Dev Env

v2.0.0 Latest version

Solana Anchor Dev Env

anchor

Solana Anchor Dev Env

Run anything inside a solana dev env with anchor

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Solana Anchor Dev Env

uses: seabed-labs/anchor-test-action@v2.0.0

Learn more about this action in seabed-labs/anchor-test-action

Choose a version

Anchor Test action

Github action for running Anchor tests for programs on the Solana blockchain

Example action

name: Program Tests
on:
  push:
    branches:
      - main
  pull_request:
jobs:
  program-tests:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repo
        uses: actions/checkout@v2
      - name: Solana Anchor Test
        uses: dcaf-labs/anchor-test-action@main
        with:
          args: "" # add anchor test args, e.g. "--skip-lint"
          workspace_dir: "." # path to the anchor workspace, e.g. "./my_workspace"