GitHub Action
Setup dapptools environment
v4
Latest version
This action provides access to dapptools for GitHub Actions users.
See action.yaml
Basic:
steps:
- uses: actions/checkout@v2
- uses: risedle/setup-dapptools@v4
- run: dapp build
You can add tarball
as the input to specify the dapptools version:
steps:
- uses: actions/checkout@v2
- uses: risedle/setup-dapptools@v4
with:
tarball: "https://github.com/dapphub/dapptools/archive/refs/tags/hevm/0.49.0.tar.gz"
- run: dapp build
You can also install the specific solc version using the following configuration:
steps:
- uses: actions/checkout@v2
- uses: risedle/setup-dapptools@v4
with:
solc: "solc_0_8_11"
- run: dapp build
env:
DAPP_SOLC_VERSION: 0.8.11
For a list of the supported solc versions, check solc-static-versions.nix.
The scripts and documentation in this project are released under the MIT License