Skip to content

PaulRBerg/foundry-multibuild

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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.

- uses: PaulRBerg/foundry-multibuild@v1
  with:
    min: "0.8.0"
    max: "0.8.23"
    skip-test: "true"

Inputs

Name Required Default Description
min Yes 0.8.0 Minimum Solidity version to build with
max Yes 0.8.23 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:

License

This project is licensed under MIT.