Add FOUNDRY_PROFILE
in the GitHub action to use a ci
profile
#7
Labels
FOUNDRY_PROFILE
in the GitHub action to use a ci
profile
#7
Context
Because Foundry allows different profiles to be used when using it, we can make use of that with using the env variable
FOUNDRY_PROFILE
.Details
Typically you'd want to have as much information as possible to debug a failed action. We can achieve this by adding a specific CI profile in
foundry.toml
and enabling that in the GitHub action config.At the moment it seems like one would need to update foundry.toml and ci.yml to create the profile (with additional verbosity) and enable it while the action is running
foundry.toml
docsAlternatives
One could run the profile locally by running
$ FOUNDRY_PROFILE=ci make test
However, this does not achieve the desired results since, locally one has the possibility to actively debug and retrieve more info.
Security concerns
Not sure if there are any concerns regarding this. Maybe publicly dumping some secret variables if the config is not properly set up?
Has the feature been requested before?
First time.
The text was updated successfully, but these errors were encountered: