You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
foundry-toolchain
v1.0.2
This GitHub action installs Foundry.
on: [push]
name: test
jobs:
check:
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
with:
version: nightly
- name: Run tests
run: forge test -vvv
Name | Required | Description | Type |
---|---|---|---|
version |
Yes | Version to install, e.g. nightly or 1.0.0 . Note: Foundry only has nightly builds for the time being. |
string |
token |
No | Authorized GitHub token. Defaults to ${{ github.token }} |
string |