Skip to content

feat(incentives): add ERC1155Incentive #15

feat(incentives): add ERC1155Incentive

feat(incentives): add ERC1155Incentive #15

Workflow file for this run

name: Run Tests and Update Docs
on:
push:
branches:
- main
env:
FOUNDRY_PROFILE: ci
jobs:
check:
name: Build and Test
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Run Forge tests
env:
TEST_SIGNER_PRIVATE_KEY: ${{ secrets.TEST_SIGNER_PRIVATE_KEY }}
run: |
forge test -vvv
id: test
docs:
needs: check
name: Deploy Docs
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Build Documentation (mdBook)
run: forge doc --build
- name: Publish Documentation
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/book