Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulrberg/foundry-multibuild
GitHub Action for building a Foundry project with a range of Solidity versions
https://github.com/paulrberg/foundry-multibuild
foundry solidity
Last synced: 2 months ago
JSON representation
GitHub Action for building a Foundry project with a range of Solidity versions
- Host: GitHub
- URL: https://github.com/paulrberg/foundry-multibuild
- Owner: PaulRBerg
- License: mit
- Created: 2022-07-16T20:42:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-06T10:02:24.000Z (4 months ago)
- Last Synced: 2024-10-03T12:35:19.899Z (3 months ago)
- Topics: foundry, solidity
- Language: Shell
- Homepage: https://github.com/marketplace/actions/foundry-multibuild
- Size: 20.5 KB
- Stars: 39
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Foundry Multibuild
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][pragma].## Usage
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.```yml
- uses: PaulRBerg/foundry-multibuild@v1
with:
min: "0.8.0"
max: "0.8.27"
skip-test: "true"
```## Inputs
| 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 |## Examples
See how this action is used in the wild:
- [Sablier V2 Core](https://github.com/sablier-labs/v2-core/blob/main/.github/workflows/multibuild.yml)
- [PRBMath](https://github.com/PaulRBerg/prb-math/blob/main/.github/workflows/multibuild.yml)
- [PRBTest](https://github.com/PaulRBerg/prb-test/blob/main/.github/workflows/multibuild.yml)## License
This project is licensed under MIT.
[pragma]: https://docs.soliditylang.org/en/v0.8.27/layout-of-source-files.html?highlight=pragma#version-pragma