A GitHub Action for testing that a Foundry project can be built with a range of Solidity versions.
This is useful to continuously check that your Solidity project remains compatible with all compiler versions allowed by your pragma.
Tip: you probably don't want to run this action on every push to your repository. Instead, you may want to run it on a cron schedule, e.g., once per week.
- uses: PaulRBerg/foundry-multibuild@v1
with:
min: "0.8.0"
max: "0.8.27"
skip-test: "true"
Name | Required | Default | Description |
---|---|---|---|
min |
Yes | 0.8.0 | Minimum Solidity version to build with |
max |
Yes | 0.8.27 | Maximum Solidity version to build with |
skip-test |
No | True | Whether to skip compiling the test directory |
See how this action is used in the wild:
This project is licensed under MIT.