GitXplorerGitXplorer
f

setup-snfoundry

public
10 stars
6 forks
5 issues

Commits

List of commits on branch main.
Verified
106e83ff8dca36e29fd972d68127540fe7355e71

Update version to v3 in README (#22)

ddrknzz committed 10 months ago
Unverified
bd5fc266ba0ce7e352b01dd7eaacc0fbb6145d17

Update readme

TTHenry14 committed a year ago
Verified
b5c150522193454e14bc08cff7c01f2843e26ef1

Set version (#19)

TTHenry14 committed a year ago
Unverified
dc7b5b32ab235d6e27318b060712c6fdc7841b9f

Update action.yml

TTHenry14 committed a year ago
Unverified
d416405d9f8407b39ee9745ee47bccf7f26c76db

Update readme and add checks

TTHenry14 committed a year ago
Unverified
0562951e3f16801179f0446874b1981ec847f1f2

Fix format

TTHenry14 committed a year ago

README

The README file for this repository.

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@v3
      - run: snforge

Inputs

  • starknet-foundry-version - Optional. String:

    • Stating an explicit Starknet Foundry version to use, for example "0.9.1".
    • Empty/not specified: the .tool-versions file will be read to resolve starknet foundry version, and in case it is not present the latest stable version will be used.
  • tool-versions - Optional. String.

    • Stating a relative or absolute path to the .tool-versions file.
    • Should be used only if starknet-foundry-version is not specified.

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).