-
Notifications
You must be signed in to change notification settings - Fork 20
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
Cannot find openzeppelin-contracts #84
Comments
@ChiHaoLu hi, thanks for the report! could this be a change or regression in Foundry? can you check which |
I'm seeing the same thing as well as of a couple days ago. No problems running slither locally, just in the action |
forge 0.2.0 (e0ea59c 2024-04-24T00:17:37.065879000Z) This is my foundry version. And everything works in locally. BTW, the CI will work when |
So far we suspect this might be caused by foundry-rs/foundry#7878 If you have the option, installing an older Foundry release seems to work around the problem: Unfortunately for those using the automatic compilation (i.e. no |
The foundry issue has been resolved upstream and the latest nightly build includes the fix, can you retest your workflows and let us know if this is now working? |
It works! Thanks a lot! |
The slither-actions worked successfully in few days ago, but today it suddenly appears the cannot find file error.
In the local test it works successfully, and I cannot figure out why this error will occur even the compile successful.
My github workflow is:
The result is:
In my lib, the
openzeppelin-contracts/contracts/access/Ownable.sol
is existed.And here is my
slither.config.json
, the remapping part is same withfoundry.toml
:The text was updated successfully, but these errors were encountered: