You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Setup Scarb
v1.0.0
Sets up Scarb in your GitHub Actions 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
scarb-version
- Optional. A string stating an explicit Scarb version to use, or"latest"
. Defaults to"latest"
.
scarb-prefix
- A path to where Scarb has been extracted to. Thescarb
binary will be located in thebin
subdirectory (${{ steps.setup-scarb.outputs.scarb-prefix }}/bin
).scarb-version
- Installed Scarb version.