Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specifying versions #35

Open
FredCoen opened this issue Aug 11, 2023 · 3 comments
Open

specifying versions #35

FredCoen opened this issue Aug 11, 2023 · 3 comments

Comments

@FredCoen
Copy link

Is it possible to specify a version like so : nightly-d369d2486f85576eec4ca41d277391dfdae21ba7

Are nightly and 0.1.0 and 0.2.0 the only possible values?

@relyt29
Copy link

relyt29 commented Aug 11, 2023

same issue, need to be able to pin to a specific foundry commit because foundry has a bug and our CI is failing

until foundry team fixes their bug we need to be able to pin to a specific known-good version of foundry

@relyt29
Copy link

relyt29 commented Aug 11, 2023

it appears version specification might work, e.g. like so:

name: FoundryTest

on: [pull_request]

env:
  FOUNDRY_PROFILE: ci

jobs:
  check:
    strategy:
      fail-fast: true

    name: Foundry project
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          submodules: recursive

      - name: Install Foundry
        uses: foundry-rs/foundry-toolchain@v1
        with:
          version: "nightly-ca67d15f4abd46394b324c50e21e66f306a1162d"

@frank-lim-partior
Copy link

Yes. nightly versions work. But do keep foundry's release management in mind - it appears that nightly versions are purged on a regular basis with the exception of those released on the 2nd of each month.

noot added a commit to astriaorg/astria that referenced this issue Nov 27, 2023
## Summary
previous version appeared to have been pulled, causing a 404??
https://github.com/foundry-rs/foundry/tags
see foundry-rs/foundry-toolchain#35

this updates it to an older version that doesn't look like it will get
pulled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants