Consider fixing Foundry version across GitHub workflows using an an env variable #11027
Closed
arthurgousset
started this conversation in
General
Replies: 2 comments
-
I would advocate to keep a single version. It makes reasoning about workflows simpler, reduces the probability of forgetting to update in an odd place, and adds a forcing function to solve bugs by blocking a general upgrade. That is, if Foundry is more or less used for the same things in all these places. Where different versions could make sense to me:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Sounds good, thanks for the input @lvpeschke. I made an issue, and will open a PR to do this: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question re Github workflows and Foundry versions:
I see that we're installing foundry in at least 3 different workflows:
protocol-devchain-anvil.yml
protocol_tests.yml
ci.yml
We're currently fixing foundry version at
nightly-f625d0fa7c51e65b4bf1e8f7931cd1c6e2e285e9
.I expected the foundry version will change frequently, as we'll want to keep up with the latest Foundry releases.
Unfortunately, we can't currently stay on the latest version, because it introduced a regression that breaks our workflows.
Question: Does it make sense to set the Foundry version in one place so it can be fetched by all workflows?
My thinking:
Beta Was this translation helpful? Give feedback.
All reactions