Skip to content

ci(test): update workflow #9

ci(test): update workflow

ci(test): update workflow #9

Workflow file for this run

name: Foundry Tests
on:
workflow_dispatch:
push:
branches: [master, trunk]
paths:
- "**.sol"
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
env:
FOUNDRY_PROFILE: ci
RPC_MAINNET: ${{ secrets.ETH_RPC_URL }}
MULTISIG_SAFE: ${{ secrets.MULTISIG_SAFE }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
ETH_RPC_URL: ${{ secrets.ETH_RPC_URL }}
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge install
id: install
- name: Run Forge build
run: |
forge build --sizes
id: build
- name: Run Forge tests
run: |
forge test -vvv
id: test