Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
activity

GitHub Action

Setup Scarb

v1.0.0

Setup Scarb

activity

Setup Scarb

Sets up Scarb in your GitHub Actions workflow

Installation

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

              

- name: Setup Scarb

uses: software-mansion/setup-scarb@v1.0.0

Learn more about this action in software-mansion/setup-scarb

Choose a version

Install Scarb

Sets up Scarb in your GitHub Actions workflow.

Example workflow

name: My workflow
on:
  push:
  pull_request:
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: software-mansion/setup-scarb@v1
        with:
          scarb-version: "0.4.0"
      - run: scarb fmt --check
      - run: scarb test

Inputs

  • scarb-version - Optional. A string stating an explicit Scarb version to use, or "latest". Defaults to "latest".

Outputs

  • scarb-prefix - A path to where Scarb has been extracted to. The scarb binary will be located in the bin subdirectory (${{ steps.setup-scarb.outputs.scarb-prefix }}/bin).
  • scarb-version - Installed Scarb version.