You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Setup Starknet Foundry
v1.0.0
Sets up Starknet Foundry in your GitHub Actions workflow supporting caching out of the box.
name: My workflow
on:
push:
pull_request:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: foundry-rs/setup-snfoundry@v1
- run: snforge
starknet-foundry-version
- Optional. String:- Stating an explicit Starknet Foundry version to use, for example
"0.8.3"
.
- Stating an explicit Starknet Foundry version to use, for example
starknet-foundry-prefix
- A path to where Starknet Foundry has been extracted to. Thesnforge
andsncast
binaries will be located in thebin
subdirectory (${{ steps.setup-starknet-foundry.outputs.starknet-foundry-prefix }}/bin
).starknet-foundry-version
- Version of Starknet Foundry that was installed (as reported bysnforge -V
).