Skip to content

Warning

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

Setup Starknet Foundry

Actions
Sets up Starknet Foundry in your GitHub Actions workflow
v2.0.0
Star (11)

Tags

 (1)

Install Starknet Foundry

Sets up Starknet Foundry in your GitHub Actions workflow supporting caching out of the box.

Example workflow

name: My workflow
on:
  push:
  pull_request:
jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: foundry-rs/setup-snfoundry@v2
      - run: snforge

Inputs

  • starknet-foundry-version - Optional. String:
    • Stating an explicit Starknet Foundry version to use, for example "0.9.1".

Outputs

  • starknet-foundry-prefix - A path to where Starknet Foundry has been extracted to. The snforgeand sncast binaries will be located in the bin subdirectory (${{ steps.setup-starknet-foundry.outputs.starknet-foundry-prefix }}/bin).
  • starknet-foundry-version - Version of Starknet Foundry that was installed (as reported by snforge -V).

Setup Starknet Foundry is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Sets up Starknet Foundry in your GitHub Actions workflow
v2.0.0

Tags

 (1)

Setup Starknet Foundry is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.